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

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

Issue 2228633005: Cancel composition on RenderWidgetHostCocoaView after a child frame's RWHV receives the correspondi… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a unit test Created 4 years, 4 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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac_unittest.mm ('k') | 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 cc::CompositorFrame frame) override; 93 cc::CompositorFrame frame) override;
94 void ClearCompositorFrame() override {} 94 void ClearCompositorFrame() override {}
95 95
96 // RenderWidgetHostViewBase implementation. 96 // RenderWidgetHostViewBase implementation.
97 void InitAsPopup(RenderWidgetHostView* parent_host_view, 97 void InitAsPopup(RenderWidgetHostView* parent_host_view,
98 const gfx::Rect& bounds) override {} 98 const gfx::Rect& bounds) override {}
99 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} 99 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {}
100 void Focus() override {} 100 void Focus() override {}
101 void SetIsLoading(bool is_loading) override {} 101 void SetIsLoading(bool is_loading) override {}
102 void UpdateCursor(const WebCursor& cursor) override {} 102 void UpdateCursor(const WebCursor& cursor) override {}
103 void ImeCancelComposition() override {}
104 void RenderProcessGone(base::TerminationStatus status, 103 void RenderProcessGone(base::TerminationStatus status,
105 int error_code) override; 104 int error_code) override;
106 void Destroy() override; 105 void Destroy() override;
107 void SetTooltipText(const base::string16& tooltip_text) override {} 106 void SetTooltipText(const base::string16& tooltip_text) override {}
108 void CopyFromCompositingSurface( 107 void CopyFromCompositingSurface(
109 const gfx::Rect& src_subrect, 108 const gfx::Rect& src_subrect,
110 const gfx::Size& dst_size, 109 const gfx::Size& dst_size,
111 const ReadbackRequestCallback& callback, 110 const ReadbackRequestCallback& callback,
112 const SkColorType preferred_color_type) override; 111 const SkColorType preferred_color_type) override;
113 void CopyFromCompositingSurfaceToVideoFrame( 112 void CopyFromCompositingSurfaceToVideoFrame(
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 private: 301 private:
303 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> 302 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors>
304 ScopedSetSupportedScaleFactors; 303 ScopedSetSupportedScaleFactors;
305 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 304 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
306 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 305 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
307 }; 306 };
308 307
309 } // namespace content 308 } // namespace content
310 309
311 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 310 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698