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

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

Issue 15793016: Make TestRenderWidgetHostView delete itself like the other RenderWidgetHostViews. (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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) OVERRIDE {}
108 virtual void RenderViewGone(base::TerminationStatus status, 108 virtual void RenderViewGone(base::TerminationStatus status,
109 int error_code) OVERRIDE; 109 int error_code) OVERRIDE;
110 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } 110 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { }
111 virtual void Destroy() OVERRIDE {} 111 virtual void Destroy() OVERRIDE;
112 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE {} 112 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE {}
113 virtual void SelectionBoundsChanged( 113 virtual void SelectionBoundsChanged(
114 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {} 114 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {}
115 virtual void ScrollOffsetChanged() OVERRIDE {} 115 virtual void ScrollOffsetChanged() OVERRIDE {}
116 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 116 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
117 virtual void CopyFromCompositingSurface( 117 virtual void CopyFromCompositingSurface(
118 const gfx::Rect& src_subrect, 118 const gfx::Rect& src_subrect,
119 const gfx::Size& dst_size, 119 const gfx::Size& dst_size,
120 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; 120 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE;
121 virtual void CopyFromCompositingSurfaceToVideoFrame( 121 virtual void CopyFromCompositingSurfaceToVideoFrame(
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 TestRenderViewHost* active_test_rvh(); 359 TestRenderViewHost* active_test_rvh();
360 TestWebContents* contents(); 360 TestWebContents* contents();
361 361
362 private: 362 private:
363 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 363 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
364 }; 364 };
365 365
366 } // namespace content 366 } // namespace content
367 367
368 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 368 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698