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

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

Issue 15682010: Support plumbing LatencyInfo through the old software path. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE {} 97 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE {}
98 virtual void TextInputStateChanged( 98 virtual void TextInputStateChanged(
99 const ViewHostMsg_TextInputState_Params& params) OVERRIDE {} 99 const ViewHostMsg_TextInputState_Params& params) OVERRIDE {}
100 virtual void ImeCancelComposition() OVERRIDE {} 100 virtual void ImeCancelComposition() OVERRIDE {}
101 virtual void ImeCompositionRangeChanged( 101 virtual void ImeCompositionRangeChanged(
102 const ui::Range& range, 102 const ui::Range& range,
103 const std::vector<gfx::Rect>& character_bounds) OVERRIDE {} 103 const std::vector<gfx::Rect>& character_bounds) OVERRIDE {}
104 virtual void DidUpdateBackingStore( 104 virtual void DidUpdateBackingStore(
105 const gfx::Rect& scroll_rect, 105 const gfx::Rect& scroll_rect,
106 const gfx::Vector2d& scroll_delta, 106 const gfx::Vector2d& scroll_delta,
107 const std::vector<gfx::Rect>& rects) OVERRIDE {} 107 const std::vector<gfx::Rect>& rects,
108 const ui::LatencyInfo& latency_info) OVERRIDE {}
108 virtual void RenderViewGone(base::TerminationStatus status, 109 virtual void RenderViewGone(base::TerminationStatus status,
109 int error_code) OVERRIDE; 110 int error_code) OVERRIDE;
110 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } 111 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { }
111 virtual void Destroy() OVERRIDE {} 112 virtual void Destroy() OVERRIDE {}
112 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE {} 113 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE {}
113 virtual void SelectionBoundsChanged( 114 virtual void SelectionBoundsChanged(
114 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {} 115 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {}
115 virtual void ScrollOffsetChanged() OVERRIDE {} 116 virtual void ScrollOffsetChanged() OVERRIDE {}
116 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 117 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
117 virtual void CopyFromCompositingSurface( 118 virtual void CopyFromCompositingSurface(
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 TestRenderViewHost* active_test_rvh(); 360 TestRenderViewHost* active_test_rvh();
360 TestWebContents* contents(); 361 TestWebContents* contents();
361 362
362 private: 363 private:
363 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 364 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
364 }; 365 };
365 366
366 } // namespace content 367 } // namespace content
367 368
368 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 369 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698