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

Side by Side Diff: content/browser/web_contents/web_contents_view_win.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_WIN_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/timer.h" 10 #include "base/timer.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 MESSAGE_HANDLER(WM_NCHITTEST, OnNCHitTest) 50 MESSAGE_HANDLER(WM_NCHITTEST, OnNCHitTest)
51 MESSAGE_HANDLER(WM_HSCROLL, OnScroll) 51 MESSAGE_HANDLER(WM_HSCROLL, OnScroll)
52 MESSAGE_HANDLER(WM_VSCROLL, OnScroll) 52 MESSAGE_HANDLER(WM_VSCROLL, OnScroll)
53 MESSAGE_HANDLER(WM_SIZE, OnSize) 53 MESSAGE_HANDLER(WM_SIZE, OnSize)
54 END_MSG_MAP() 54 END_MSG_MAP()
55 55
56 // Overridden from WebContentsView: 56 // Overridden from WebContentsView:
57 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE; 57 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE;
58 virtual RenderWidgetHostView* CreateViewForWidget( 58 virtual RenderWidgetHostView* CreateViewForWidget(
59 RenderWidgetHost* render_widget_host) OVERRIDE; 59 RenderWidgetHost* render_widget_host) OVERRIDE;
60 virtual void SetView(RenderWidgetHostView* view) OVERRIDE;
60 virtual gfx::NativeView GetNativeView() const OVERRIDE; 61 virtual gfx::NativeView GetNativeView() const OVERRIDE;
61 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; 62 virtual gfx::NativeView GetContentNativeView() const OVERRIDE;
62 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; 63 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
63 virtual void GetContainerBounds(gfx::Rect *out) const OVERRIDE; 64 virtual void GetContainerBounds(gfx::Rect *out) const OVERRIDE;
64 virtual void SetPageTitle(const string16& title) OVERRIDE; 65 virtual void SetPageTitle(const string16& title) OVERRIDE;
65 virtual void OnTabCrashed(base::TerminationStatus status, 66 virtual void OnTabCrashed(base::TerminationStatus status,
66 int error_code) OVERRIDE; 67 int error_code) OVERRIDE;
67 virtual void SizeContents(const gfx::Size& size) OVERRIDE; 68 virtual void SizeContents(const gfx::Size& size) OVERRIDE;
68 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; 69 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE;
69 virtual void Focus() OVERRIDE; 70 virtual void Focus() OVERRIDE;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 scoped_refptr<WebContentsDragWin> drag_handler_; 140 scoped_refptr<WebContentsDragWin> drag_handler_;
140 141
141 scoped_ptr<ui::HWNDMessageFilter> hwnd_message_filter_; 142 scoped_ptr<ui::HWNDMessageFilter> hwnd_message_filter_;
142 143
143 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); 144 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin);
144 }; 145 };
145 146
146 } // namespace content 147 } // namespace content
147 148
148 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ 149 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_mac.mm ('k') | content/browser/web_contents/web_contents_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698