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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/browser/renderer_host/render_widget_host_view_base.h" 9 #include "content/browser/renderer_host/render_widget_host_view_base.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 void WasHidden() override; 62 void WasHidden() override;
63 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; 63 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override;
64 void Blur() override; 64 void Blur() override;
65 void UpdateCursor(const WebCursor& cursor) override; 65 void UpdateCursor(const WebCursor& cursor) override;
66 void SetIsLoading(bool is_loading) override; 66 void SetIsLoading(bool is_loading) override;
67 void TextInputTypeChanged(ui::TextInputType type, 67 void TextInputTypeChanged(ui::TextInputType type,
68 ui::TextInputMode input_mode, 68 ui::TextInputMode input_mode,
69 bool can_compose_inline, 69 bool can_compose_inline,
70 int flags) override; 70 int flags) override;
71 void ImeCancelComposition() override; 71 void ImeCancelComposition() override;
72 #if defined(OS_MACOSX) || defined(USE_AURA) 72 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID)
73 void ImeCompositionRangeChanged( 73 void ImeCompositionRangeChanged(
74 const gfx::Range& range, 74 const gfx::Range& range,
75 const std::vector<gfx::Rect>& character_bounds) override; 75 const std::vector<gfx::Rect>& character_bounds) override;
76 #endif 76 #endif
77 void RenderProcessGone(base::TerminationStatus status, 77 void RenderProcessGone(base::TerminationStatus status,
78 int error_code) override; 78 int error_code) override;
79 void Destroy() override; 79 void Destroy() override;
80 void SetTooltipText(const base::string16& tooltip_text) override; 80 void SetTooltipText(const base::string16& tooltip_text) override;
81 void SelectionChanged(const base::string16& text, 81 void SelectionChanged(const base::string16& text,
82 size_t offset, 82 size_t offset,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // sent through it are routed to the embedding renderer process. 154 // sent through it are routed to the embedding renderer process.
155 CrossProcessFrameConnector* frame_connector_; 155 CrossProcessFrameConnector* frame_connector_;
156 156
157 private: 157 private:
158 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 158 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
159 }; 159 };
160 160
161 } // namespace content 161 } // namespace content
162 162
163 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 163 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698