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

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

Issue 14210004: Consolidate UpdateFrameInfo and SwapCompositorFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 virtual void AcceleratedSurfaceRelease() OVERRIDE {} 134 virtual void AcceleratedSurfaceRelease() OVERRIDE {}
135 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 135 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
136 #if defined(OS_MACOSX) 136 #if defined(OS_MACOSX)
137 virtual void AboutToWaitForBackingStoreMsg() OVERRIDE; 137 virtual void AboutToWaitForBackingStoreMsg() OVERRIDE;
138 virtual bool PostProcessEventForPluginIme( 138 virtual bool PostProcessEventForPluginIme(
139 const NativeWebKeyboardEvent& event) OVERRIDE; 139 const NativeWebKeyboardEvent& event) OVERRIDE;
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,
145 float page_scale_factor,
146 const gfx::Vector2dF& page_scale_factor_limits,
147 const gfx::SizeF& content_size,
148 const gfx::SizeF& viewport_size,
149 const gfx::Vector2dF& controls_offset,
150 const gfx::Vector2dF& content_offset,
151 float overdraw_bottom_height) OVERRIDE {}
152 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE {} 144 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE {}
153 #elif defined(OS_WIN) && !defined(USE_AURA) 145 #elif defined(OS_WIN) && !defined(USE_AURA)
154 virtual void WillWmDestroy() OVERRIDE; 146 virtual void WillWmDestroy() OVERRIDE;
155 #endif 147 #endif
156 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} 148 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {}
157 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 149 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
158 virtual void SetHasHorizontalScrollbar( 150 virtual void SetHasHorizontalScrollbar(
159 bool has_horizontal_scrollbar) OVERRIDE { } 151 bool has_horizontal_scrollbar) OVERRIDE { }
160 virtual void SetScrollOffsetPinning( 152 virtual void SetScrollOffsetPinning(
161 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } 153 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { }
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 TestRenderViewHost* active_test_rvh(); 342 TestRenderViewHost* active_test_rvh();
351 TestWebContents* contents(); 343 TestWebContents* contents();
352 344
353 private: 345 private:
354 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 346 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
355 }; 347 };
356 348
357 } // namespace content 349 } // namespace content
358 350
359 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 351 #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/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698