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

Side by Side Diff: content/test/test_web_contents_view.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
« no previous file with comments | « content/public/browser/web_contents_view.h ('k') | content/test/test_web_contents_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_TEST_TEST_WEB_CONTENTS_VIEW_H_ 5 #ifndef CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_
6 #define CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_ 6 #define CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/port/browser/render_view_host_delegate_view.h" 9 #include "content/port/browser/render_view_host_delegate_view.h"
10 #include "content/public/browser/web_contents_view.h" 10 #include "content/public/browser/web_contents_view.h"
(...skipping 22 matching lines...) Expand all
33 const gfx::Vector2d& image_offset, 33 const gfx::Vector2d& image_offset,
34 const DragEventSourceInfo& event_info) OVERRIDE; 34 const DragEventSourceInfo& event_info) OVERRIDE;
35 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) OVERRIDE; 35 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) OVERRIDE;
36 virtual void GotFocus() OVERRIDE; 36 virtual void GotFocus() OVERRIDE;
37 virtual void TakeFocus(bool reverse) OVERRIDE; 37 virtual void TakeFocus(bool reverse) OVERRIDE;
38 38
39 // WebContentsView: 39 // WebContentsView:
40 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE; 40 virtual void CreateView(const gfx::Size& initial_size) OVERRIDE;
41 virtual RenderWidgetHostView* CreateViewForWidget( 41 virtual RenderWidgetHostView* CreateViewForWidget(
42 RenderWidgetHost* render_widget_host) OVERRIDE; 42 RenderWidgetHost* render_widget_host) OVERRIDE;
43 virtual void SetView(RenderWidgetHostView* view) OVERRIDE;
43 virtual gfx::NativeView GetNativeView() const OVERRIDE; 44 virtual gfx::NativeView GetNativeView() const OVERRIDE;
44 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; 45 virtual gfx::NativeView GetContentNativeView() const OVERRIDE;
45 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; 46 virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE;
46 virtual void GetContainerBounds(gfx::Rect *out) const OVERRIDE; 47 virtual void GetContainerBounds(gfx::Rect *out) const OVERRIDE;
47 virtual void SetPageTitle(const string16& title) OVERRIDE; 48 virtual void SetPageTitle(const string16& title) OVERRIDE;
48 virtual void OnTabCrashed(base::TerminationStatus status, 49 virtual void OnTabCrashed(base::TerminationStatus status,
49 int error_code) OVERRIDE; 50 int error_code) OVERRIDE;
50 virtual void SizeContents(const gfx::Size& size) OVERRIDE; 51 virtual void SizeContents(const gfx::Size& size) OVERRIDE;
51 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; 52 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE;
52 virtual void Focus() OVERRIDE; 53 virtual void Focus() OVERRIDE;
53 virtual void SetInitialFocus() OVERRIDE; 54 virtual void SetInitialFocus() OVERRIDE;
54 virtual void StoreFocus() OVERRIDE; 55 virtual void StoreFocus() OVERRIDE;
55 virtual void RestoreFocus() OVERRIDE; 56 virtual void RestoreFocus() OVERRIDE;
56 virtual WebDropData* GetDropData() const OVERRIDE; 57 virtual WebDropData* GetDropData() const OVERRIDE;
57 virtual bool IsEventTracking() const OVERRIDE; 58 virtual bool IsEventTracking() const OVERRIDE;
58 virtual void CloseTabAfterEventTracking() OVERRIDE; 59 virtual void CloseTabAfterEventTracking() OVERRIDE;
59 virtual gfx::Rect GetViewBounds() const OVERRIDE; 60 virtual gfx::Rect GetViewBounds() const OVERRIDE;
60 61
61 private: 62 private:
62 DISALLOW_COPY_AND_ASSIGN(TestWebContentsView); 63 DISALLOW_COPY_AND_ASSIGN(TestWebContentsView);
63 }; 64 };
64 65
65 } // namespace content 66 } // namespace content
66 67
67 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_ 68 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_view.h ('k') | content/test/test_web_contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698