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

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

Issue 270883003: Decouple RVH creation from CrossProcessFrameConnector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) OVERRIDE; 521 virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) OVERRIDE;
522 #if defined(OS_WIN) 522 #if defined(OS_WIN)
523 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() OVERRIDE; 523 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() OVERRIDE;
524 #endif 524 #endif
525 525
526 // RenderFrameHostManager::Delegate ------------------------------------------ 526 // RenderFrameHostManager::Delegate ------------------------------------------
527 527
528 virtual bool CreateRenderViewForRenderManager( 528 virtual bool CreateRenderViewForRenderManager(
529 RenderViewHost* render_view_host, 529 RenderViewHost* render_view_host,
530 int opener_route_id, 530 int opener_route_id,
531 CrossProcessFrameConnector* frame_connector) OVERRIDE; 531 bool for_subframe) OVERRIDE;
532 virtual void BeforeUnloadFiredFromRenderManager( 532 virtual void BeforeUnloadFiredFromRenderManager(
533 bool proceed, const base::TimeTicks& proceed_time, 533 bool proceed, const base::TimeTicks& proceed_time,
534 bool* proceed_to_fire_unload) OVERRIDE; 534 bool* proceed_to_fire_unload) OVERRIDE;
535 virtual void RenderProcessGoneFromRenderManager( 535 virtual void RenderProcessGoneFromRenderManager(
536 RenderViewHost* render_view_host) OVERRIDE; 536 RenderViewHost* render_view_host) OVERRIDE;
537 virtual void UpdateRenderViewSizeForRenderManager() OVERRIDE; 537 virtual void UpdateRenderViewSizeForRenderManager() OVERRIDE;
538 virtual void CancelModalDialogsForRenderManager() OVERRIDE; 538 virtual void CancelModalDialogsForRenderManager() OVERRIDE;
539 virtual void NotifySwappedFromRenderManager( 539 virtual void NotifySwappedFromRenderManager(
540 RenderViewHost* old_host, RenderViewHost* new_host) OVERRIDE; 540 RenderViewHost* old_host, RenderViewHost* new_host) OVERRIDE;
541 virtual int CreateOpenerRenderViewsForRenderManager( 541 virtual int CreateOpenerRenderViewsForRenderManager(
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 1108
1109 // Whether the last JavaScript dialog shown was suppressed. Used for testing. 1109 // Whether the last JavaScript dialog shown was suppressed. Used for testing.
1110 bool last_dialog_suppressed_; 1110 bool last_dialog_suppressed_;
1111 1111
1112 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1112 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1113 }; 1113 };
1114 1114
1115 } // namespace content 1115 } // namespace content
1116 1116
1117 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1117 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698