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

Side by Side Diff: content/browser/web_contents/web_contents_view_mac.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_MAC_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // because that's what was easiest when they were split. 60 // because that's what was easiest when they were split.
61 WebContentsViewMac(WebContentsImpl* web_contents, 61 WebContentsViewMac(WebContentsImpl* web_contents,
62 WebContentsViewDelegate* delegate); 62 WebContentsViewDelegate* delegate);
63 virtual ~WebContentsViewMac(); 63 virtual ~WebContentsViewMac();
64 64
65 // WebContentsView implementation -------------------------------------------- 65 // WebContentsView implementation --------------------------------------------
66 66
67 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE; 67 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE;
68 virtual RenderWidgetHostView* CreateViewForWidget( 68 virtual RenderWidgetHostView* CreateViewForWidget(
69 RenderWidgetHost* render_widget_host) OVERRIDE; 69 RenderWidgetHost* render_widget_host) OVERRIDE;
70 virtual void SetView(RenderWidgetHostView* view) OVERRIDE;
70 virtual gfx::NativeView GetNativeView() const OVERRIDE; 71 virtual gfx::NativeView GetNativeView() const OVERRIDE;
71 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; 72 virtual gfx::NativeView GetContentNativeView() const OVERRIDE;
72 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; 73 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
73 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; 74 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE;
74 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; 75 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE;
75 virtual void SetPageTitle(const string16& title) OVERRIDE; 76 virtual void SetPageTitle(const string16& title) OVERRIDE;
76 virtual void OnTabCrashed(base::TerminationStatus status, 77 virtual void OnTabCrashed(base::TerminationStatus status,
77 int error_code) OVERRIDE; 78 int error_code) OVERRIDE;
78 virtual void SizeContents(const gfx::Size& size) OVERRIDE; 79 virtual void SizeContents(const gfx::Size& size) OVERRIDE;
79 virtual void Focus() OVERRIDE; 80 virtual void Focus() OVERRIDE;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 125
125 // Our optional delegate. 126 // Our optional delegate.
126 scoped_ptr<WebContentsViewDelegate> delegate_; 127 scoped_ptr<WebContentsViewDelegate> delegate_;
127 128
128 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac); 129 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac);
129 }; 130 };
130 131
131 } // namespace content 132 } // namespace content
132 133
133 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ 134 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_gtk.cc ('k') | content/browser/web_contents/web_contents_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698