OLD | NEW |
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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 // content::WebContents ------------------------------------------------------ | 165 // content::WebContents ------------------------------------------------------ |
166 virtual const base::PropertyBag* GetPropertyBag() const OVERRIDE; | 166 virtual const base::PropertyBag* GetPropertyBag() const OVERRIDE; |
167 virtual base::PropertyBag* GetPropertyBag() OVERRIDE; | 167 virtual base::PropertyBag* GetPropertyBag() OVERRIDE; |
168 virtual content::WebContentsDelegate* GetDelegate() OVERRIDE; | 168 virtual content::WebContentsDelegate* GetDelegate() OVERRIDE; |
169 virtual void SetDelegate(content::WebContentsDelegate* delegate) OVERRIDE; | 169 virtual void SetDelegate(content::WebContentsDelegate* delegate) OVERRIDE; |
170 virtual NavigationControllerImpl& GetController() OVERRIDE; | 170 virtual NavigationControllerImpl& GetController() OVERRIDE; |
171 virtual const NavigationControllerImpl& GetController() const OVERRIDE; | 171 virtual const NavigationControllerImpl& GetController() const OVERRIDE; |
172 virtual content::BrowserContext* GetBrowserContext() const OVERRIDE; | 172 virtual content::BrowserContext* GetBrowserContext() const OVERRIDE; |
173 virtual content::RenderProcessHost* GetRenderProcessHost() const OVERRIDE; | 173 virtual content::RenderProcessHost* GetRenderProcessHost() const OVERRIDE; |
174 virtual content::RenderViewHost* GetRenderViewHost() const OVERRIDE; | 174 virtual content::RenderViewHost* GetRenderViewHost() const OVERRIDE; |
| 175 virtual int GetRoutingID() const OVERRIDE; |
175 virtual content::RenderWidgetHostView* | 176 virtual content::RenderWidgetHostView* |
176 GetRenderWidgetHostView() const OVERRIDE; | 177 GetRenderWidgetHostView() const OVERRIDE; |
177 virtual content::WebContentsView* GetView() const OVERRIDE; | 178 virtual content::WebContentsView* GetView() const OVERRIDE; |
178 virtual content::WebUI* CreateWebUI(const GURL& url) OVERRIDE; | 179 virtual content::WebUI* CreateWebUI(const GURL& url) OVERRIDE; |
179 virtual content::WebUI* GetWebUI() const OVERRIDE; | 180 virtual content::WebUI* GetWebUI() const OVERRIDE; |
180 virtual content::WebUI* GetCommittedWebUI() const OVERRIDE; | 181 virtual content::WebUI* GetCommittedWebUI() const OVERRIDE; |
181 virtual void SetUserAgentOverride(const std::string& override) OVERRIDE; | 182 virtual void SetUserAgentOverride(const std::string& override) OVERRIDE; |
182 virtual const std::string& GetUserAgentOverride() const OVERRIDE; | 183 virtual const std::string& GetUserAgentOverride() const OVERRIDE; |
183 virtual const string16& GetTitle() const OVERRIDE; | 184 virtual const string16& GetTitle() const OVERRIDE; |
184 virtual int32 GetMaxPageID() OVERRIDE; | 185 virtual int32 GetMaxPageID() OVERRIDE; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; | 258 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; |
258 virtual bool HasOpener() const OVERRIDE; | 259 virtual bool HasOpener() const OVERRIDE; |
259 virtual void DidChooseColorInColorChooser(int color_chooser_id, | 260 virtual void DidChooseColorInColorChooser(int color_chooser_id, |
260 SkColor color) OVERRIDE; | 261 SkColor color) OVERRIDE; |
261 virtual void DidEndColorChooser(int color_chooser_id) OVERRIDE; | 262 virtual void DidEndColorChooser(int color_chooser_id) OVERRIDE; |
262 | 263 |
263 // Implementation of PageNavigator. | 264 // Implementation of PageNavigator. |
264 virtual content::WebContents* OpenURL( | 265 virtual content::WebContents* OpenURL( |
265 const content::OpenURLParams& params) OVERRIDE; | 266 const content::OpenURLParams& params) OVERRIDE; |
266 | 267 |
| 268 // Implementation of IPC::Sender. |
| 269 virtual bool Send(IPC::Message* message) OVERRIDE; |
| 270 |
267 // RenderViewHostDelegate ---------------------------------------------------- | 271 // RenderViewHostDelegate ---------------------------------------------------- |
268 | 272 |
269 virtual content::RenderViewHostDelegateView* GetDelegateView() OVERRIDE; | 273 virtual content::RenderViewHostDelegateView* GetDelegateView() OVERRIDE; |
270 virtual content::RenderViewHostDelegate::RendererManagement* | 274 virtual content::RenderViewHostDelegate::RendererManagement* |
271 GetRendererManagementDelegate() OVERRIDE; | 275 GetRendererManagementDelegate() OVERRIDE; |
272 virtual bool OnMessageReceived(content::RenderViewHost* render_view_host, | 276 virtual bool OnMessageReceived(content::RenderViewHost* render_view_host, |
273 const IPC::Message& message) OVERRIDE; | 277 const IPC::Message& message) OVERRIDE; |
274 virtual const GURL& GetURL() const OVERRIDE; | 278 virtual const GURL& GetURL() const OVERRIDE; |
275 virtual content::WebContents* GetAsWebContents() OVERRIDE; | 279 virtual content::WebContents* GetAsWebContents() OVERRIDE; |
276 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 280 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
813 content::NotificationRegistrar registrar_; | 817 content::NotificationRegistrar registrar_; |
814 | 818 |
815 // Used during IPC message dispatching so that the handlers can get a pointer | 819 // Used during IPC message dispatching so that the handlers can get a pointer |
816 // to the RVH through which the message was received. | 820 // to the RVH through which the message was received. |
817 content::RenderViewHost* message_source_; | 821 content::RenderViewHost* message_source_; |
818 | 822 |
819 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 823 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
820 }; | 824 }; |
821 | 825 |
822 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 826 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |