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

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

Issue 11308083: Fix the html select tag showing up at the wrong position. This was a regression from r166446. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win_rel Created 8 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_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 30 matching lines...) Expand all
41 virtual ~WebContentsViewGtk(); 41 virtual ~WebContentsViewGtk();
42 42
43 WebContentsViewDelegate* delegate() const { return delegate_.get(); } 43 WebContentsViewDelegate* delegate() const { return delegate_.get(); }
44 WebContents* web_contents(); 44 WebContents* web_contents();
45 45
46 // WebContentsView implementation -------------------------------------------- 46 // WebContentsView implementation --------------------------------------------
47 47
48 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE; 48 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE;
49 virtual RenderWidgetHostView* CreateViewForWidget( 49 virtual RenderWidgetHostView* CreateViewForWidget(
50 RenderWidgetHost* render_widget_host) OVERRIDE; 50 RenderWidgetHost* render_widget_host) OVERRIDE;
51 virtual void SetView(RenderWidgetHostView* view) OVERRIDE;
51 virtual gfx::NativeView GetNativeView() const OVERRIDE; 52 virtual gfx::NativeView GetNativeView() const OVERRIDE;
52 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; 53 virtual gfx::NativeView GetContentNativeView() const OVERRIDE;
53 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; 54 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
54 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; 55 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE;
55 virtual void SetPageTitle(const string16& title) OVERRIDE; 56 virtual void SetPageTitle(const string16& title) OVERRIDE;
56 virtual void OnTabCrashed(base::TerminationStatus status, 57 virtual void OnTabCrashed(base::TerminationStatus status,
57 int error_code) OVERRIDE; 58 int error_code) OVERRIDE;
58 virtual void SizeContents(const gfx::Size& size) OVERRIDE; 59 virtual void SizeContents(const gfx::Size& size) OVERRIDE;
59 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; 60 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE;
60 virtual void Focus() OVERRIDE; 61 virtual void Focus() OVERRIDE;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // The size we want the view to be. We keep this in a separate variable 132 // The size we want the view to be. We keep this in a separate variable
132 // because resizing in GTK+ is async. 133 // because resizing in GTK+ is async.
133 gfx::Size requested_size_; 134 gfx::Size requested_size_;
134 135
135 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGtk); 136 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGtk);
136 }; 137 };
137 138
138 } // namespace content 139 } // namespace content
139 140
140 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ 141 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | content/browser/web_contents/web_contents_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698