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

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

Issue 2057803002: Tracking SelectionBounds for all RenderWidgets on the Browser Side (Aura Only) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing creis@'s comments 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
« no previous file with comments | « content/public/test/text_input_test_utils.cc ('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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
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( 104 void ImeCompositionRangeChanged(
105 const gfx::Range& range, 105 const gfx::Range& range,
106 const std::vector<gfx::Rect>& character_bounds) override {} 106 const std::vector<gfx::Rect>& character_bounds) override {}
107 void RenderProcessGone(base::TerminationStatus status, 107 void RenderProcessGone(base::TerminationStatus status,
108 int error_code) override; 108 int error_code) override;
109 void Destroy() override; 109 void Destroy() override;
110 void SetTooltipText(const base::string16& tooltip_text) override {} 110 void SetTooltipText(const base::string16& tooltip_text) override {}
111 void SelectionBoundsChanged(
112 const ViewHostMsg_SelectionBounds_Params& params) override {}
113 void CopyFromCompositingSurface( 111 void CopyFromCompositingSurface(
114 const gfx::Rect& src_subrect, 112 const gfx::Rect& src_subrect,
115 const gfx::Size& dst_size, 113 const gfx::Size& dst_size,
116 const ReadbackRequestCallback& callback, 114 const ReadbackRequestCallback& callback,
117 const SkColorType preferred_color_type) override; 115 const SkColorType preferred_color_type) override;
118 void CopyFromCompositingSurfaceToVideoFrame( 116 void CopyFromCompositingSurfaceToVideoFrame(
119 const gfx::Rect& src_subrect, 117 const gfx::Rect& src_subrect,
120 const scoped_refptr<media::VideoFrame>& target, 118 const scoped_refptr<media::VideoFrame>& target,
121 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; 119 const base::Callback<void(const gfx::Rect&, bool)>& callback) override;
122 bool CanCopyToVideoFrame() const override; 120 bool CanCopyToVideoFrame() const override;
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 private: 305 private:
308 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> 306 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors>
309 ScopedSetSupportedScaleFactors; 307 ScopedSetSupportedScaleFactors;
310 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 308 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
311 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 309 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
312 }; 310 };
313 311
314 } // namespace content 312 } // namespace content
315 313
316 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 314 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/public/test/text_input_test_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698