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

Unified Diff: chrome/browser/tab_contents/web_contents_view.h

Issue 19677: Clean up the Windows-ness in the sizing of new views. Write a bunch of commen... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/tab_contents/web_contents.cc ('k') | chrome/browser/tab_contents/web_contents_view_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/web_contents_view.h
===================================================================
--- chrome/browser/tab_contents/web_contents_view.h (revision 8895)
+++ chrome/browser/tab_contents/web_contents_view.h (working copy)
@@ -18,7 +18,6 @@
class RenderViewHost;
class RenderWidgetHost;
class RenderWidgetHostView;
-class RenderWidgetHostViewWin; // TODO(brettw) this should not be necessary.
class WebContents;
struct WebDropData;
class WebKeyboardEvent;
@@ -43,10 +42,9 @@
virtual void CreateView() = 0;
// Sets up the View that holds the rendered web page, receives messages for
- // it and contains page plugins.
- // TODO(brettw) make this so we don't need to return the Win version (see the
- // caller in WebContents).
- virtual RenderWidgetHostViewWin* CreateViewForWidget(
+ // it and contains page plugins. The host view should be sized to the current
+ // size of the WebContents.
+ virtual RenderWidgetHostView* CreateViewForWidget(
RenderWidgetHost* render_widget_host) = 0;
// Returns the native widget that contains the contents of the tab.
« no previous file with comments | « chrome/browser/tab_contents/web_contents.cc ('k') | chrome/browser/tab_contents/web_contents_view_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698