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

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: 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_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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 virtual bool IsShowing() override; 122 virtual bool IsShowing() override;
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) override; 130 bool can_compose_inline) override;
131 virtual void ImeCancelComposition() override; 131 virtual void ImeCancelComposition() override;
132 virtual void ImeCompositionRangeChanged(
133 const gfx::Range& range,
134 const std::vector<gfx::Rect>& character_bounds) override;
132 virtual void FocusedNodeChanged(bool is_editable_node) override; 135 virtual void FocusedNodeChanged(bool is_editable_node) override;
133 virtual void RenderProcessGone(base::TerminationStatus status, 136 virtual void RenderProcessGone(base::TerminationStatus status,
134 int error_code) override; 137 int error_code) override;
135 virtual void Destroy() override; 138 virtual void Destroy() override;
136 virtual void SetTooltipText(const base::string16& tooltip_text) override; 139 virtual void SetTooltipText(const base::string16& tooltip_text) override;
137 virtual void SelectionChanged(const base::string16& text, 140 virtual void SelectionChanged(const base::string16& text,
138 size_t offset, 141 size_t offset,
139 const gfx::Range& range) override; 142 const gfx::Range& range) override;
140 virtual void SelectionBoundsChanged( 143 virtual void SelectionBoundsChanged(
141 const ViewHostMsg_SelectionBounds_Params& params) override; 144 const ViewHostMsg_SelectionBounds_Params& params) override;
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 gfx::Vector2dF last_scroll_offset_; 419 gfx::Vector2dF last_scroll_offset_;
417 420
418 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 421 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
419 422
420 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 423 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
421 }; 424 };
422 425
423 } // namespace content 426 } // namespace content
424 427
425 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 428 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698