OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 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_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "win8/viewer/metro_viewer_process_host.h" |
| 11 |
| 12 class ChromeMetroViewerProcessHost : public win8::MetroViewerProcessHost { |
| 13 public: |
| 14 explicit ChromeMetroViewerProcessHost(const std::string& ipc_channel_name); |
| 15 |
| 16 private: |
| 17 // win8::MetroViewerProcessHost implementation |
| 18 virtual void OnChannelError() OVERRIDE; |
| 19 virtual void OnSetTargetSurface(gfx::NativeViewId target_surface) OVERRIDE; |
| 20 |
| 21 DISALLOW_COPY_AND_ASSIGN(ChromeMetroViewerProcessHost); |
| 22 }; |
| 23 |
| 24 #endif // CHROME_BROWSER_METRO_VIEWER_CHROME_METRO_VIEWER_PROCESS_HOST_AURAWIN_
H_ |
OLD | NEW |