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

Side by Side Diff: trunk/src/win8/viewer/metro_viewer_process_host.cc

Issue 77203002: Revert 236048 "Rename RootWindowHost* to WindowTreeHost*" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « trunk/src/ui/views/win/hwnd_message_handler.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "win8/viewer/metro_viewer_process_host.h" 5 #include "win8/viewer/metro_viewer_process_host.h"
6 6
7 #include <shlobj.h> 7 #include <shlobj.h>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const IPC::Message& message) { 94 const IPC::Message& message) {
95 DCHECK(CalledOnValidThread()); 95 DCHECK(CalledOnValidThread());
96 bool handled = true; 96 bool handled = true;
97 IPC_BEGIN_MESSAGE_MAP(MetroViewerProcessHost, message) 97 IPC_BEGIN_MESSAGE_MAP(MetroViewerProcessHost, message)
98 IPC_MESSAGE_HANDLER(MetroViewerHostMsg_SetTargetSurface, OnSetTargetSurface) 98 IPC_MESSAGE_HANDLER(MetroViewerHostMsg_SetTargetSurface, OnSetTargetSurface)
99 IPC_MESSAGE_HANDLER(MetroViewerHostMsg_OpenURL, OnOpenURL) 99 IPC_MESSAGE_HANDLER(MetroViewerHostMsg_OpenURL, OnOpenURL)
100 IPC_MESSAGE_HANDLER(MetroViewerHostMsg_SearchRequest, OnHandleSearchRequest) 100 IPC_MESSAGE_HANDLER(MetroViewerHostMsg_SearchRequest, OnHandleSearchRequest)
101 IPC_MESSAGE_UNHANDLED(handled = false) 101 IPC_MESSAGE_UNHANDLED(handled = false)
102 IPC_END_MESSAGE_MAP() 102 IPC_END_MESSAGE_MAP()
103 return handled ? true : 103 return handled ? true :
104 aura::RemoteWindowTreeHostWin::Instance()->OnMessageReceived(message); 104 aura::RemoteRootWindowHostWin::Instance()->OnMessageReceived(message);
105 } 105 }
106 106
107 void MetroViewerProcessHost::NotifyChannelConnected() { 107 void MetroViewerProcessHost::NotifyChannelConnected() {
108 if (channel_connected_event_) 108 if (channel_connected_event_)
109 channel_connected_event_->Signal(); 109 channel_connected_event_->Signal();
110 } 110 }
111 111
112 } // namespace win8 112 } // namespace win8
OLDNEW
« no previous file with comments | « trunk/src/ui/views/win/hwnd_message_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698