Update mojo surfaces bindings and mojo/cc/ glue
[chromium-blink-merge.git] / chrome / browser / metro_viewer / chrome_metro_viewer_process_host_aurawin.h
blobd86497233ce1e71d4133c61e1d1b13560610ad8b
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_METRO_VIEWER_CHROME_METRO_VIEWER_PROCESS_HOST_AURAWIN_H_
6 #define CHROME_BROWSER_METRO_VIEWER_CHROME_METRO_VIEWER_PROCESS_HOST_AURAWIN_H_
8 #include "win8/viewer/metro_viewer_process_host.h"
10 namespace base {
11 class FilePath;
14 class ChromeMetroViewerProcessHost : public win8::MetroViewerProcessHost {
15 public:
16 ChromeMetroViewerProcessHost();
17 virtual ~ChromeMetroViewerProcessHost();
19 private:
20 // win8::MetroViewerProcessHost implementation
21 virtual void OnChannelError() OVERRIDE;
23 // IPC::Listener implementation
24 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
25 virtual void OnSetTargetSurface(gfx::NativeViewId target_surface,
26 float device_scale) OVERRIDE;
27 virtual void OnOpenURL(const base::string16& url) OVERRIDE;
28 virtual void OnHandleSearchRequest(
29 const base::string16& search_string) OVERRIDE;
30 virtual void OnWindowSizeChanged(uint32 width, uint32 height) OVERRIDE;
32 DISALLOW_COPY_AND_ASSIGN(ChromeMetroViewerProcessHost);
35 #endif // CHROME_BROWSER_METRO_VIEWER_CHROME_METRO_VIEWER_PROCESS_HOST_AURAWIN_H_