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

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

Issue 536063002: Clean up RenderWidgetHostView destruction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Safer scheme Created 6 years, 3 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
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 virtual void SetIsLoading(bool is_loading) OVERRIDE {} 100 virtual void SetIsLoading(bool is_loading) OVERRIDE {}
101 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE {} 101 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE {}
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,
111 int error_code) OVERRIDE;
112 virtual void Destroy() OVERRIDE; 110 virtual void Destroy() OVERRIDE;
113 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE {} 111 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE {}
114 virtual void SelectionBoundsChanged( 112 virtual void SelectionBoundsChanged(
115 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {} 113 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {}
116 virtual void CopyFromCompositingSurface( 114 virtual void CopyFromCompositingSurface(
117 const gfx::Rect& src_subrect, 115 const gfx::Rect& src_subrect,
118 const gfx::Size& dst_size, 116 const gfx::Size& dst_size,
119 const base::Callback<void(bool, const SkBitmap&)>& callback, 117 const base::Callback<void(bool, const SkBitmap&)>& callback,
120 const SkColorType color_type) OVERRIDE; 118 const SkColorType color_type) OVERRIDE;
121 virtual void CopyFromCompositingSurfaceToVideoFrame( 119 virtual void CopyFromCompositingSurfaceToVideoFrame(
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 private: 397 private:
400 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 398 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
401 ScopedSetSupportedScaleFactors; 399 ScopedSetSupportedScaleFactors;
402 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 400 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
403 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 401 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
404 }; 402 };
405 403
406 } // namespace content 404 } // namespace content
407 405
408 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 406 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698