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

Side by Side Diff: chrome/browser/external_tab_container_win.h

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_EXTERNAL_TAB_CONTAINER_WIN_H_ 5 #ifndef CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_
6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ 6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 content::WebIntentsDispatcher* intents_dispatcher) OVERRIDE; 182 content::WebIntentsDispatcher* intents_dispatcher) OVERRIDE;
183 virtual void FindReply(content::WebContents* tab, 183 virtual void FindReply(content::WebContents* tab,
184 int request_id, 184 int request_id,
185 int number_of_matches, 185 int number_of_matches,
186 const gfx::Rect& selection_rect, 186 const gfx::Rect& selection_rect,
187 int active_match_ordinal, 187 int active_match_ordinal,
188 bool final_update) OVERRIDE; 188 bool final_update) OVERRIDE;
189 virtual void CrashedPlugin(content::WebContents* tab, 189 virtual void CrashedPlugin(content::WebContents* tab,
190 const FilePath& plugin_path) OVERRIDE; 190 const FilePath& plugin_path) OVERRIDE;
191 191
192 void RegisterRenderViewHost(RenderViewHost* render_view_host); 192 void RegisterRenderViewHost(content::RenderViewHost* render_view_host);
193 void UnregisterRenderViewHost(RenderViewHost* render_view_host); 193 void UnregisterRenderViewHost(content::RenderViewHost* render_view_host);
194 194
195 // Overridden from content::WebContentsObserver: 195 // Overridden from content::WebContentsObserver:
196 virtual bool OnMessageReceived(const IPC::Message& message); 196 virtual bool OnMessageReceived(const IPC::Message& message);
197 197
198 // Message handlers 198 // Message handlers
199 void OnForwardMessageToExternalHost(const std::string& message, 199 void OnForwardMessageToExternalHost(const std::string& message,
200 const std::string& origin, 200 const std::string& origin,
201 const std::string& target); 201 const std::string& target);
202 202
203 // Overridden from content::NotificationObserver: 203 // Overridden from content::NotificationObserver:
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 246
247 bool InitNavigationInfo(NavigationInfo* nav_info, 247 bool InitNavigationInfo(NavigationInfo* nav_info,
248 content::NavigationType nav_type, 248 content::NavigationType nav_type,
249 int relative_offset); 249 int relative_offset);
250 void Navigate(const GURL& url, const GURL& referrer); 250 void Navigate(const GURL& url, const GURL& referrer);
251 251
252 friend class base::RefCounted<ExternalTabContainer>; 252 friend class base::RefCounted<ExternalTabContainer>;
253 253
254 // Helper resource automation registration method, allowing registration of 254 // Helper resource automation registration method, allowing registration of
255 // pending RenderViewHosts. 255 // pending RenderViewHosts.
256 void RegisterRenderViewHostForAutomation(RenderViewHost* render_view_host, 256 void RegisterRenderViewHostForAutomation(
257 bool pending_view); 257 content::RenderViewHost* render_view_host,
258 bool pending_view);
258 259
259 // Helper function for processing keystokes coming back from the renderer 260 // Helper function for processing keystokes coming back from the renderer
260 // process. 261 // process.
261 bool ProcessUnhandledKeyStroke(HWND window, UINT message, WPARAM wparam, 262 bool ProcessUnhandledKeyStroke(HWND window, UINT message, WPARAM wparam,
262 LPARAM lparam); 263 LPARAM lparam);
263 264
264 void LoadAccelerators(); 265 void LoadAccelerators();
265 266
266 // Sends over pending Open URL requests to the external host. 267 // Sends over pending Open URL requests to the external host.
267 void ServicePendingOpenURLRequests(); 268 void ServicePendingOpenURLRequests();
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 return false; 409 return false;
409 } 410 }
410 411
411 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, 412 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed,
412 bool* proceed_to_fire_unload) { 413 bool* proceed_to_fire_unload) {
413 NOTREACHED(); 414 NOTREACHED();
414 } 415 }
415 }; 416 };
416 417
417 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ 418 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_webnavigation_api.cc ('k') | chrome/browser/external_tab_container_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698