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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 30323002: [DRAFT] Create RenderFrameHostManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
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_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 protected: 109 protected:
110 virtual ~RendererManagement() {} 110 virtual ~RendererManagement() {}
111 }; 111 };
112 112
113 // --------------------------------------------------------------------------- 113 // ---------------------------------------------------------------------------
114 114
115 // Returns the current delegate associated with a feature. May return NULL if 115 // Returns the current delegate associated with a feature. May return NULL if
116 // there is no corresponding delegate. 116 // there is no corresponding delegate.
117 virtual RenderViewHostDelegateView* GetDelegateView(); 117 virtual RenderViewHostDelegateView* GetDelegateView();
118 virtual RendererManagement* GetRendererManagementDelegate(); 118 virtual RendererManagement* GetRenderManager() const;
119 119
120 // This is used to give the delegate a chance to filter IPC messages. 120 // This is used to give the delegate a chance to filter IPC messages.
121 virtual bool OnMessageReceived(RenderViewHost* render_view_host, 121 virtual bool OnMessageReceived(RenderViewHost* render_view_host,
122 const IPC::Message& message); 122 const IPC::Message& message);
123 123
124 // Gets the URL that is currently being displayed, if there is one. 124 // Gets the URL that is currently being displayed, if there is one.
125 virtual const GURL& GetURL() const; 125 virtual const GURL& GetURL() const;
126 126
127 // Return this object cast to a WebContents, if it is one. If the object is 127 // Return this object cast to a WebContents, if it is one. If the object is
128 // not a WebContents, returns NULL. DEPRECATED: Be sure to include brettw or 128 // not a WebContents, returns NULL. DEPRECATED: Be sure to include brettw or
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 // created by the RenderViewHost. 450 // created by the RenderViewHost.
451 virtual FrameTree* GetFrameTree(); 451 virtual FrameTree* GetFrameTree();
452 452
453 protected: 453 protected:
454 virtual ~RenderViewHostDelegate() {} 454 virtual ~RenderViewHostDelegate() {}
455 }; 455 };
456 456
457 } // namespace content 457 } // namespace content
458 458
459 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 459 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698