Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Side by Side Diff: chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.h

Issue 15731003: Make the browser->metro_viewer IPC channel name a constant instead of hardcoding it in a few places… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix explicits Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <string>
9
10 #include "win8/viewer/metro_viewer_process_host.h" 8 #include "win8/viewer/metro_viewer_process_host.h"
11 9
12 class ChromeMetroViewerProcessHost : public win8::MetroViewerProcessHost { 10 class ChromeMetroViewerProcessHost : public win8::MetroViewerProcessHost {
13 public: 11 public:
14 explicit ChromeMetroViewerProcessHost(const std::string& ipc_channel_name); 12 ChromeMetroViewerProcessHost();
15 13
16 private: 14 private:
17 // win8::MetroViewerProcessHost implementation 15 // win8::MetroViewerProcessHost implementation
18 virtual void OnChannelError() OVERRIDE; 16 virtual void OnChannelError() OVERRIDE;
19 virtual void OnSetTargetSurface(gfx::NativeViewId target_surface) OVERRIDE; 17 virtual void OnSetTargetSurface(gfx::NativeViewId target_surface) OVERRIDE;
20 virtual void OnOpenURL(const string16& url) OVERRIDE; 18 virtual void OnOpenURL(const string16& url) OVERRIDE;
21 virtual void OnHandleSearchRequest(const string16& search_string) OVERRIDE; 19 virtual void OnHandleSearchRequest(const string16& search_string) OVERRIDE;
22 20
23 DISALLOW_COPY_AND_ASSIGN(ChromeMetroViewerProcessHost); 21 DISALLOW_COPY_AND_ASSIGN(ChromeMetroViewerProcessHost);
24 }; 22 };
25 23
26 #endif // CHROME_BROWSER_METRO_VIEWER_CHROME_METRO_VIEWER_PROCESS_HOST_AURAWIN_ H_ 24 #endif // CHROME_BROWSER_METRO_VIEWER_CHROME_METRO_VIEWER_PROCESS_HOST_AURAWIN_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698