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

Side by Side Diff: content/browser/renderer_host/test_render_view_host.h

Issue 6024008: Consider the popup window position when the window shows upward. This patch depends on WebKit patch. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fix CPoint to POINT. Created 9 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view.h ('k') | no next file » | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 explicit TestRenderWidgetHostView(RenderWidgetHost* rwh); 51 explicit TestRenderWidgetHostView(RenderWidgetHost* rwh);
52 virtual ~TestRenderWidgetHostView(); 52 virtual ~TestRenderWidgetHostView();
53 53
54 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 54 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
55 const gfx::Rect& pos) {} 55 const gfx::Rect& pos) {}
56 virtual void InitAsFullscreen() {} 56 virtual void InitAsFullscreen() {}
57 virtual RenderWidgetHost* GetRenderWidgetHost() const; 57 virtual RenderWidgetHost* GetRenderWidgetHost() const;
58 virtual void DidBecomeSelected() {} 58 virtual void DidBecomeSelected() {}
59 virtual void WasHidden() {} 59 virtual void WasHidden() {}
60 virtual void SetSize(const gfx::Size& size) {} 60 virtual void SetSize(const gfx::Size& size) {}
61 virtual void SetBounds(const gfx::Rect& rect) {}
61 virtual gfx::NativeView GetNativeView(); 62 virtual gfx::NativeView GetNativeView();
62 virtual void MovePluginWindows( 63 virtual void MovePluginWindows(
63 const std::vector<webkit::npapi::WebPluginGeometry>& moves) {} 64 const std::vector<webkit::npapi::WebPluginGeometry>& moves) {}
64 #if defined(OS_WIN) 65 #if defined(OS_WIN)
65 virtual void ForwardMouseEventToRenderer(UINT message, 66 virtual void ForwardMouseEventToRenderer(UINT message,
66 WPARAM wparam, 67 WPARAM wparam,
67 LPARAM lparam) {} 68 LPARAM lparam) {}
68 #endif 69 #endif
69 virtual void Focus() {} 70 virtual void Focus() {}
70 virtual void Blur() {} 71 virtual void Blur() {}
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 301
301 MockRenderProcessHostFactory rph_factory_; 302 MockRenderProcessHostFactory rph_factory_;
302 TestRenderViewHostFactory rvh_factory_; 303 TestRenderViewHostFactory rvh_factory_;
303 304
304 scoped_ptr<TestTabContents> contents_; 305 scoped_ptr<TestTabContents> contents_;
305 306
306 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 307 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
307 }; 308 };
308 309
309 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 310 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698