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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 671503005: Plumb composition character bounds for Android 5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 virtual gfx::Rect GetViewBounds() const override; 123 virtual gfx::Rect GetViewBounds() const override;
124 virtual gfx::Size GetPhysicalBackingSize() const override; 124 virtual gfx::Size GetPhysicalBackingSize() const override;
125 virtual float GetTopControlsLayoutHeight() const override; 125 virtual float GetTopControlsLayoutHeight() const override;
126 virtual void UpdateCursor(const WebCursor& cursor) override; 126 virtual void UpdateCursor(const WebCursor& cursor) override;
127 virtual void SetIsLoading(bool is_loading) override; 127 virtual void SetIsLoading(bool is_loading) override;
128 virtual void TextInputTypeChanged(ui::TextInputType type, 128 virtual void TextInputTypeChanged(ui::TextInputType type,
129 ui::TextInputMode input_mode, 129 ui::TextInputMode input_mode,
130 bool can_compose_inline, 130 bool can_compose_inline,
131 int flags) override; 131 int flags) override;
132 virtual void ImeCancelComposition() override; 132 virtual void ImeCancelComposition() override;
133 virtual void ImeCompositionRangeChanged(
134 const gfx::Range& range,
135 const std::vector<gfx::Rect>& character_bounds) override;
133 virtual void FocusedNodeChanged(bool is_editable_node) override; 136 virtual void FocusedNodeChanged(bool is_editable_node) override;
134 virtual void RenderProcessGone(base::TerminationStatus status, 137 virtual void RenderProcessGone(base::TerminationStatus status,
135 int error_code) override; 138 int error_code) override;
136 virtual void Destroy() override; 139 virtual void Destroy() override;
137 virtual void SetTooltipText(const base::string16& tooltip_text) override; 140 virtual void SetTooltipText(const base::string16& tooltip_text) override;
138 virtual void SelectionChanged(const base::string16& text, 141 virtual void SelectionChanged(const base::string16& text,
139 size_t offset, 142 size_t offset,
140 const gfx::Range& range) override; 143 const gfx::Range& range) override;
141 virtual void SelectionBoundsChanged( 144 virtual void SelectionBoundsChanged(
142 const ViewHostMsg_SelectionBounds_Params& params) override; 145 const ViewHostMsg_SelectionBounds_Params& params) override;
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 gfx::Vector2dF last_scroll_offset_; 420 gfx::Vector2dF last_scroll_offset_;
418 421
419 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 422 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
420 423
421 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 424 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
422 }; 425 };
423 426
424 } // namespace content 427 } // namespace content
425 428
426 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 429 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698