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

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

Issue 12623031: Pass the overdraw value to the browser w/ frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Interface for test file Created 7 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
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_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 #elif defined(OS_ANDROID) 140 #elif defined(OS_ANDROID)
141 virtual void ShowDisambiguationPopup( 141 virtual void ShowDisambiguationPopup(
142 const gfx::Rect& target_rect, 142 const gfx::Rect& target_rect,
143 const SkBitmap& zoomed_bitmap) OVERRIDE {} 143 const SkBitmap& zoomed_bitmap) OVERRIDE {}
144 virtual void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, 144 virtual void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset,
145 float page_scale_factor, 145 float page_scale_factor,
146 const gfx::Vector2dF& page_scale_factor_limits, 146 const gfx::Vector2dF& page_scale_factor_limits,
147 const gfx::SizeF& content_size, 147 const gfx::SizeF& content_size,
148 const gfx::SizeF& viewport_size, 148 const gfx::SizeF& viewport_size,
149 const gfx::Vector2dF& controls_offset, 149 const gfx::Vector2dF& controls_offset,
150 const gfx::Vector2dF& content_offset) OVERRIDE {} 150 const gfx::Vector2dF& content_offset,
151 float overdraw_bottom_height) OVERRIDE {}
151 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE {} 152 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE {}
152 #elif defined(OS_WIN) && !defined(USE_AURA) 153 #elif defined(OS_WIN) && !defined(USE_AURA)
153 virtual void WillWmDestroy() OVERRIDE; 154 virtual void WillWmDestroy() OVERRIDE;
154 #endif 155 #endif
155 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} 156 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {}
156 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 157 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
157 virtual void SetHasHorizontalScrollbar( 158 virtual void SetHasHorizontalScrollbar(
158 bool has_horizontal_scrollbar) OVERRIDE { } 159 bool has_horizontal_scrollbar) OVERRIDE { }
159 virtual void SetScrollOffsetPinning( 160 virtual void SetScrollOffsetPinning(
160 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } 161 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { }
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 TestRenderViewHost* active_test_rvh(); 338 TestRenderViewHost* active_test_rvh();
338 TestWebContents* contents(); 339 TestWebContents* contents();
339 340
340 private: 341 private:
341 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 342 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
342 }; 343 };
343 344
344 } // namespace content 345 } // namespace content
345 346
346 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 347 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_guest.cc ('k') | content/common/cc_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698