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

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

Issue 2132633002: Tracking composition range on the browser side (Aura) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatting Fixes Created 4 years, 5 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 {} 103 void ImeCancelComposition() override {}
104 void ImeCompositionRangeChanged(
105 const gfx::Range& range,
106 const std::vector<gfx::Rect>& character_bounds) override {}
107 void RenderProcessGone(base::TerminationStatus status, 104 void RenderProcessGone(base::TerminationStatus status,
108 int error_code) override; 105 int error_code) override;
109 void Destroy() override; 106 void Destroy() override;
110 void SetTooltipText(const base::string16& tooltip_text) override {} 107 void SetTooltipText(const base::string16& tooltip_text) override {}
111 void CopyFromCompositingSurface( 108 void CopyFromCompositingSurface(
112 const gfx::Rect& src_subrect, 109 const gfx::Rect& src_subrect,
113 const gfx::Size& dst_size, 110 const gfx::Size& dst_size,
114 const ReadbackRequestCallback& callback, 111 const ReadbackRequestCallback& callback,
115 const SkColorType preferred_color_type) override; 112 const SkColorType preferred_color_type) override;
116 void CopyFromCompositingSurfaceToVideoFrame( 113 void CopyFromCompositingSurfaceToVideoFrame(
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 private: 302 private:
306 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> 303 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors>
307 ScopedSetSupportedScaleFactors; 304 ScopedSetSupportedScaleFactors;
308 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 305 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
309 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 306 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
310 }; 307 };
311 308
312 } // namespace content 309 } // namespace content
313 310
314 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 311 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698