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

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

Issue 107183002: Move more of the plugin code in the renderer to use RenderFrame instead of RenderView. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 years 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 void DragSourceMovedTo(int client_x, int client_y, 167 void DragSourceMovedTo(int client_x, int client_y,
168 int screen_x, int screen_y); 168 int screen_x, int screen_y);
169 169
170 // WebContents ------------------------------------------------------ 170 // WebContents ------------------------------------------------------
171 virtual WebContentsDelegate* GetDelegate() OVERRIDE; 171 virtual WebContentsDelegate* GetDelegate() OVERRIDE;
172 virtual void SetDelegate(WebContentsDelegate* delegate) OVERRIDE; 172 virtual void SetDelegate(WebContentsDelegate* delegate) OVERRIDE;
173 virtual NavigationControllerImpl& GetController() OVERRIDE; 173 virtual NavigationControllerImpl& GetController() OVERRIDE;
174 virtual const NavigationControllerImpl& GetController() const OVERRIDE; 174 virtual const NavigationControllerImpl& GetController() const OVERRIDE;
175 virtual BrowserContext* GetBrowserContext() const OVERRIDE; 175 virtual BrowserContext* GetBrowserContext() const OVERRIDE;
176 virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE; 176 virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE;
177 virtual RenderFrameHost* GetMainFrame() OVERRIDE;
177 virtual RenderViewHost* GetRenderViewHost() const OVERRIDE; 178 virtual RenderViewHost* GetRenderViewHost() const OVERRIDE;
178 virtual void GetRenderViewHostAtPosition( 179 virtual void GetRenderViewHostAtPosition(
179 int x, 180 int x,
180 int y, 181 int y,
181 const GetRenderViewHostCallback& callback) OVERRIDE; 182 const GetRenderViewHostCallback& callback) OVERRIDE;
182 virtual WebContents* GetEmbedderWebContents() const OVERRIDE; 183 virtual WebContents* GetEmbedderWebContents() const OVERRIDE;
183 virtual int GetEmbeddedInstanceID() const OVERRIDE; 184 virtual int GetEmbeddedInstanceID() const OVERRIDE;
184 virtual int GetRoutingID() const OVERRIDE; 185 virtual int GetRoutingID() const OVERRIDE;
185 virtual RenderWidgetHostView* GetRenderWidgetHostView() const OVERRIDE; 186 virtual RenderWidgetHostView* GetRenderWidgetHostView() const OVERRIDE;
186 virtual RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const 187 virtual RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
995 // Maps the ids of pending image downloads to their callbacks 996 // Maps the ids of pending image downloads to their callbacks
996 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; 997 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap;
997 ImageDownloadMap image_download_map_; 998 ImageDownloadMap image_download_map_;
998 999
999 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1000 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1000 }; 1001 };
1001 1002
1002 } // namespace content 1003 } // namespace content
1003 1004
1004 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1005 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698