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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 10805051: Add RenderViewHost* to DidStartLoading and DidStopLoading in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 virtual void UpdateTitle(content::RenderViewHost* render_view_host, 298 virtual void UpdateTitle(content::RenderViewHost* render_view_host,
299 int32 page_id, 299 int32 page_id,
300 const string16& title, 300 const string16& title,
301 base::i18n::TextDirection title_direction) OVERRIDE; 301 base::i18n::TextDirection title_direction) OVERRIDE;
302 virtual void UpdateEncoding(content::RenderViewHost* render_view_host, 302 virtual void UpdateEncoding(content::RenderViewHost* render_view_host,
303 const std::string& encoding) OVERRIDE; 303 const std::string& encoding) OVERRIDE;
304 virtual void UpdateTargetURL(int32 page_id, const GURL& url) OVERRIDE; 304 virtual void UpdateTargetURL(int32 page_id, const GURL& url) OVERRIDE;
305 virtual void Close(content::RenderViewHost* render_view_host) OVERRIDE; 305 virtual void Close(content::RenderViewHost* render_view_host) OVERRIDE;
306 virtual void RequestMove(const gfx::Rect& new_bounds) OVERRIDE; 306 virtual void RequestMove(const gfx::Rect& new_bounds) OVERRIDE;
307 virtual void SwappedOut(content::RenderViewHost* render_view_host) OVERRIDE; 307 virtual void SwappedOut(content::RenderViewHost* render_view_host) OVERRIDE;
308 virtual void DidStartLoading() OVERRIDE; 308 virtual void DidStartLoading(
309 virtual void DidStopLoading() OVERRIDE; 309 content::RenderViewHost* render_view_host) OVERRIDE;
310 virtual void DidStopLoading(
311 content::RenderViewHost* render_view_host) OVERRIDE;
310 virtual void DidCancelLoading() OVERRIDE; 312 virtual void DidCancelLoading() OVERRIDE;
311 virtual void DidChangeLoadProgress(double progress) OVERRIDE; 313 virtual void DidChangeLoadProgress(double progress) OVERRIDE;
312 virtual void DocumentAvailableInMainFrame( 314 virtual void DocumentAvailableInMainFrame(
313 content::RenderViewHost* render_view_host) OVERRIDE; 315 content::RenderViewHost* render_view_host) OVERRIDE;
314 virtual void DocumentOnLoadCompletedInMainFrame( 316 virtual void DocumentOnLoadCompletedInMainFrame(
315 content::RenderViewHost* render_view_host, 317 content::RenderViewHost* render_view_host,
316 int32 page_id) OVERRIDE; 318 int32 page_id) OVERRIDE;
317 virtual void RequestOpenURL(content::RenderViewHost* rvh, 319 virtual void RequestOpenURL(content::RenderViewHost* rvh,
318 const GURL& url, 320 const GURL& url,
319 const content::Referrer& referrer, 321 const content::Referrer& referrer,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 virtual void HandleKeyboardEvent( 406 virtual void HandleKeyboardEvent(
405 const content::NativeWebKeyboardEvent& event) OVERRIDE; 407 const content::NativeWebKeyboardEvent& event) OVERRIDE;
406 408
407 // RenderViewHostManager::Delegate ------------------------------------------- 409 // RenderViewHostManager::Delegate -------------------------------------------
408 410
409 virtual bool CreateRenderViewForRenderManager( 411 virtual bool CreateRenderViewForRenderManager(
410 content::RenderViewHost* render_view_host, int opener_route_id) OVERRIDE; 412 content::RenderViewHost* render_view_host, int opener_route_id) OVERRIDE;
411 virtual void BeforeUnloadFiredFromRenderManager( 413 virtual void BeforeUnloadFiredFromRenderManager(
412 bool proceed, 414 bool proceed,
413 bool* proceed_to_fire_unload) OVERRIDE; 415 bool* proceed_to_fire_unload) OVERRIDE;
414 virtual void DidStartLoadingFromRenderManager(
415 content::RenderViewHost* render_view_host) OVERRIDE;
416 virtual void RenderViewGoneFromRenderManager( 416 virtual void RenderViewGoneFromRenderManager(
417 content::RenderViewHost* render_view_host) OVERRIDE; 417 content::RenderViewHost* render_view_host) OVERRIDE;
418 virtual void UpdateRenderViewSizeForRenderManager() OVERRIDE; 418 virtual void UpdateRenderViewSizeForRenderManager() OVERRIDE;
419 virtual void NotifySwappedFromRenderManager() OVERRIDE; 419 virtual void NotifySwappedFromRenderManager() OVERRIDE;
420 virtual int CreateOpenerRenderViewsForRenderManager( 420 virtual int CreateOpenerRenderViewsForRenderManager(
421 content::SiteInstance* instance) OVERRIDE; 421 content::SiteInstance* instance) OVERRIDE;
422 virtual NavigationControllerImpl& GetControllerForRenderManager() OVERRIDE; 422 virtual NavigationControllerImpl& GetControllerForRenderManager() OVERRIDE;
423 virtual WebUIImpl* CreateWebUIForRenderManager(const GURL& url) OVERRIDE; 423 virtual WebUIImpl* CreateWebUIForRenderManager(const GURL& url) OVERRIDE;
424 virtual content::NavigationEntry* 424 virtual content::NavigationEntry*
425 GetLastCommittedNavigationEntryForRenderManager() OVERRIDE; 425 GetLastCommittedNavigationEntryForRenderManager() OVERRIDE;
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 content::NotificationRegistrar registrar_; 797 content::NotificationRegistrar registrar_;
798 798
799 // Used during IPC message dispatching so that the handlers can get a pointer 799 // Used during IPC message dispatching so that the handlers can get a pointer
800 // to the RVH through which the message was received. 800 // to the RVH through which the message was received.
801 content::RenderViewHost* message_source_; 801 content::RenderViewHost* message_source_;
802 802
803 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 803 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
804 }; 804 };
805 805
806 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 806 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/render_view_host_manager.h ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698