| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_METRO_VIEWER_CHROME_METRO_VIEWER_PROCESS_HOST_AURAWIN_H_ | 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_ | 6 #define CHROME_BROWSER_METRO_VIEWER_CHROME_METRO_VIEWER_PROCESS_HOST_AURAWIN_H_ |
| 7 | 7 |
| 8 #include "win8/viewer/metro_viewer_process_host.h" | 8 #include "win8/viewer/metro_viewer_process_host.h" |
| 9 | 9 |
| 10 class ChromeMetroViewerProcessHost : public win8::MetroViewerProcessHost { | 10 class ChromeMetroViewerProcessHost : public win8::MetroViewerProcessHost { |
| 11 public: | 11 public: |
| 12 ChromeMetroViewerProcessHost(); | 12 ChromeMetroViewerProcessHost(); |
| 13 | 13 |
| 14 private: | 14 private: |
| 15 // win8::MetroViewerProcessHost implementation | 15 // win8::MetroViewerProcessHost implementation |
| 16 virtual void OnChannelError() OVERRIDE; | 16 virtual void OnChannelError() OVERRIDE; |
| 17 // IPC::Listener implementation |
| 18 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; |
| 17 virtual void OnSetTargetSurface(gfx::NativeViewId target_surface) OVERRIDE; | 19 virtual void OnSetTargetSurface(gfx::NativeViewId target_surface) OVERRIDE; |
| 18 virtual void OnOpenURL(const string16& url) OVERRIDE; | 20 virtual void OnOpenURL(const string16& url) OVERRIDE; |
| 19 virtual void OnHandleSearchRequest(const string16& search_string) OVERRIDE; | 21 virtual void OnHandleSearchRequest(const string16& search_string) OVERRIDE; |
| 20 | 22 |
| 21 DISALLOW_COPY_AND_ASSIGN(ChromeMetroViewerProcessHost); | 23 DISALLOW_COPY_AND_ASSIGN(ChromeMetroViewerProcessHost); |
| 22 }; | 24 }; |
| 23 | 25 |
| 24 #endif // CHROME_BROWSER_METRO_VIEWER_CHROME_METRO_VIEWER_PROCESS_HOST_AURAWIN_
H_ | 26 #endif // CHROME_BROWSER_METRO_VIEWER_CHROME_METRO_VIEWER_PROCESS_HOST_AURAWIN_
H_ |
| OLD | NEW |