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

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

Issue 11593011: Add a new code/message path for moving an insertion handle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + function rename Created 7 years, 11 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 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 int GetNativeImeAdapter(); 150 int GetNativeImeAdapter();
151 151
152 WebKit::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size); 152 WebKit::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size);
153 bool PopulateBitmapWithContents(jobject jbitmap); 153 bool PopulateBitmapWithContents(jobject jbitmap);
154 154
155 bool HasValidFrame() const; 155 bool HasValidFrame() const;
156 156
157 // Select all text between the given coordinates. 157 // Select all text between the given coordinates.
158 void SelectRange(const gfx::Point& start, const gfx::Point& end); 158 void SelectRange(const gfx::Point& start, const gfx::Point& end);
159 159
160 void MoveCaret(const gfx::Point& point);
161
160 private: 162 private:
161 // The model object. 163 // The model object.
162 RenderWidgetHostImpl* host_; 164 RenderWidgetHostImpl* host_;
163 165
164 // Whether or not this widget is potentially attached to the view hierarchy. 166 // Whether or not this widget is potentially attached to the view hierarchy.
165 // This view may not actually be attached if this is true, but it should be 167 // This view may not actually be attached if this is true, but it should be
166 // treated as such, because as soon as a ContentViewCore is set the layer 168 // treated as such, because as soon as a ContentViewCore is set the layer
167 // will be attached automatically. 169 // will be attached automatically.
168 bool is_layer_attached_; 170 bool is_layer_attached_;
169 171
(...skipping 24 matching lines...) Expand all
194 196
195 // The mailbox name of the previously received frame. 197 // The mailbox name of the previously received frame.
196 std::string current_mailbox_name_; 198 std::string current_mailbox_name_;
197 199
198 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 200 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
199 }; 201 };
200 202
201 } // namespace content 203 } // namespace content
202 204
203 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 205 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698