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

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

Issue 10795013: Rename bounds accessors to be intuitive and consistent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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
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 #include "content/browser/renderer_host/test_backing_store.h" 5 #include "content/browser/renderer_host/test_backing_store.h"
6 #include "content/browser/renderer_host/test_render_view_host.h" 6 #include "content/browser/renderer_host/test_render_view_host.h"
7 #include "content/browser/site_instance_impl.h" 7 #include "content/browser/site_instance_impl.h"
8 #include "content/browser/web_contents/navigation_controller_impl.h" 8 #include "content/browser/web_contents/navigation_controller_impl.h"
9 #include "content/browser/web_contents/test_web_contents.h" 9 #include "content/browser/web_contents/test_web_contents.h"
10 #include "content/common/view_messages.h" 10 #include "content/common/view_messages.h"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 #elif defined(OS_WIN) && !defined(USE_AURA) 176 #elif defined(OS_WIN) && !defined(USE_AURA)
177 void TestRenderWidgetHostView::WillWmDestroy() { 177 void TestRenderWidgetHostView::WillWmDestroy() {
178 } 178 }
179 #endif 179 #endif
180 180
181 #if defined(OS_ANDROID) 181 #if defined(OS_ANDROID)
182 void TestRenderWidgetHostView::StartContentIntent(const GURL&) {} 182 void TestRenderWidgetHostView::StartContentIntent(const GURL&) {}
183 #endif 183 #endif
184 184
185 #if defined(OS_POSIX) || defined(USE_AURA) 185 #if defined(OS_POSIX) || defined(USE_AURA)
186 gfx::Rect TestRenderWidgetHostView::GetRootWindowBounds() { 186 gfx::Rect TestRenderWidgetHostView::GetBoundsInRootWindow() {
187 return gfx::Rect(); 187 return gfx::Rect();
188 } 188 }
189 #endif 189 #endif
190 190
191 #if defined(TOOLKIT_GTK) 191 #if defined(TOOLKIT_GTK)
192 GdkEventButton* TestRenderWidgetHostView::GetLastMouseDown() { 192 GdkEventButton* TestRenderWidgetHostView::GetLastMouseDown() {
193 return NULL; 193 return NULL;
194 } 194 }
195 195
196 gfx::NativeView TestRenderWidgetHostView::BuildInputMethodsGtkMenu() { 196 gfx::NativeView TestRenderWidgetHostView::BuildInputMethodsGtkMenu() {
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 333
334 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { 334 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() {
335 return static_cast<TestRenderViewHost*>(active_rvh()); 335 return static_cast<TestRenderViewHost*>(active_rvh());
336 } 336 }
337 337
338 TestWebContents* RenderViewHostImplTestHarness::contents() { 338 TestWebContents* RenderViewHostImplTestHarness::contents() {
339 return static_cast<TestWebContents*>(web_contents()); 339 return static_cast<TestWebContents*>(web_contents());
340 } 340 }
341 341
342 } // namespace content 342 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.h ('k') | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698