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

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

Issue 671503005: Plumb composition character bounds for Android 5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 virtual void MovePluginWindows( 95 virtual void MovePluginWindows(
96 const std::vector<WebPluginGeometry>& moves) override {} 96 const std::vector<WebPluginGeometry>& moves) override {}
97 virtual void Focus() override {} 97 virtual void Focus() override {}
98 virtual void Blur() override {} 98 virtual void Blur() override {}
99 virtual void SetIsLoading(bool is_loading) override {} 99 virtual void SetIsLoading(bool is_loading) override {}
100 virtual void UpdateCursor(const WebCursor& cursor) override {} 100 virtual void UpdateCursor(const WebCursor& cursor) override {}
101 virtual void TextInputTypeChanged(ui::TextInputType type, 101 virtual void TextInputTypeChanged(ui::TextInputType type,
102 ui::TextInputMode input_mode, 102 ui::TextInputMode input_mode,
103 bool can_compose_inline) override {} 103 bool can_compose_inline) 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) || defined(OS_ANDROID)
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 Destroy() override; 112 virtual void Destroy() override;
113 virtual void SetTooltipText(const base::string16& tooltip_text) override {} 113 virtual void SetTooltipText(const base::string16& tooltip_text) override {}
114 virtual void SelectionBoundsChanged( 114 virtual void SelectionBoundsChanged(
115 const ViewHostMsg_SelectionBounds_Params& params) override {} 115 const ViewHostMsg_SelectionBounds_Params& params) override {}
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 private: 322 private:
323 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 323 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
324 ScopedSetSupportedScaleFactors; 324 ScopedSetSupportedScaleFactors;
325 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 325 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
326 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 326 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
327 }; 327 };
328 328
329 } // namespace content 329 } // namespace content
330 330
331 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 331 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« content/renderer/render_widget.cc ('K') | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698