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

Side by Side Diff: content/test/test_render_view_host.h

Issue 339273003: Remove TestRenderWidgetHostView::WillDestroyRenderWidget() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_TEST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 virtual void TextInputStateChanged( 102 virtual void TextInputStateChanged(
103 const ViewHostMsg_TextInputState_Params& params) OVERRIDE {} 103 const ViewHostMsg_TextInputState_Params& params) OVERRIDE {}
104 virtual void ImeCancelComposition() OVERRIDE {} 104 virtual void ImeCancelComposition() OVERRIDE {}
105 #if defined(OS_MACOSX) || defined(USE_AURA) 105 #if defined(OS_MACOSX) || defined(USE_AURA)
106 virtual void ImeCompositionRangeChanged( 106 virtual void ImeCompositionRangeChanged(
107 const gfx::Range& range, 107 const gfx::Range& range,
108 const std::vector<gfx::Rect>& character_bounds) OVERRIDE {} 108 const std::vector<gfx::Rect>& character_bounds) OVERRIDE {}
109 #endif 109 #endif
110 virtual void RenderProcessGone(base::TerminationStatus status, 110 virtual void RenderProcessGone(base::TerminationStatus status,
111 int error_code) OVERRIDE; 111 int error_code) OVERRIDE;
112 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { }
113 virtual void Destroy() OVERRIDE; 112 virtual void Destroy() OVERRIDE;
114 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE {} 113 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE {}
115 virtual void SelectionBoundsChanged( 114 virtual void SelectionBoundsChanged(
116 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {} 115 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {}
117 virtual void ScrollOffsetChanged() OVERRIDE {} 116 virtual void ScrollOffsetChanged() OVERRIDE {}
118 virtual void CopyFromCompositingSurface( 117 virtual void CopyFromCompositingSurface(
119 const gfx::Rect& src_subrect, 118 const gfx::Rect& src_subrect,
120 const gfx::Size& dst_size, 119 const gfx::Size& dst_size,
121 const base::Callback<void(bool, const SkBitmap&)>& callback, 120 const base::Callback<void(bool, const SkBitmap&)>& callback,
122 const SkBitmap::Config config) OVERRIDE; 121 const SkBitmap::Config config) OVERRIDE;
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 private: 373 private:
375 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 374 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
376 ScopedSetSupportedScaleFactors; 375 ScopedSetSupportedScaleFactors;
377 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 376 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
378 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 377 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
379 }; 378 };
380 379
381 } // namespace content 380 } // namespace content
382 381
383 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 382 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698