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

Side by Side Diff: content/browser/android/content_view_core_impl.h

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 const gfx::SizeF& viewport_size, 251 const gfx::SizeF& viewport_size,
252 const gfx::Vector2dF& controls_offset, 252 const gfx::Vector2dF& controls_offset,
253 const gfx::Vector2dF& content_offset, 253 const gfx::Vector2dF& content_offset,
254 float overdraw_bottom_height); 254 float overdraw_bottom_height);
255 255
256 void UpdateImeAdapter(int native_ime_adapter, int text_input_type, 256 void UpdateImeAdapter(int native_ime_adapter, int text_input_type,
257 const std::string& text, 257 const std::string& text,
258 int selection_start, int selection_end, 258 int selection_start, int selection_end,
259 int composition_start, int composition_end, 259 int composition_start, int composition_end,
260 bool show_ime_if_needed, bool require_ack); 260 bool show_ime_if_needed, bool require_ack);
261 void SetTitle(const string16& title); 261 void SetTitle(const base::string16& title);
262 void OnBackgroundColorChanged(SkColor color); 262 void OnBackgroundColorChanged(SkColor color);
263 263
264 bool HasFocus(); 264 bool HasFocus();
265 void ConfirmTouchEvent(InputEventAckState ack_result); 265 void ConfirmTouchEvent(InputEventAckState ack_result);
266 void UnhandledFlingStartEvent(); 266 void UnhandledFlingStartEvent();
267 void OnScrollUpdateGestureConsumed(); 267 void OnScrollUpdateGestureConsumed();
268 void HasTouchEventHandlers(bool need_touch_events); 268 void HasTouchEventHandlers(bool need_touch_events);
269 void OnSelectionChanged(const std::string& text); 269 void OnSelectionChanged(const std::string& text);
270 void OnSelectionBoundsChanged( 270 void OnSelectionBoundsChanged(
271 const ViewHostMsg_SelectionBounds_Params& params); 271 const ViewHostMsg_SelectionBounds_Params& params);
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 int device_orientation_; 384 int device_orientation_;
385 385
386 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 386 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
387 }; 387 };
388 388
389 bool RegisterContentViewCore(JNIEnv* env); 389 bool RegisterContentViewCore(JNIEnv* env);
390 390
391 } // namespace content 391 } // namespace content
392 392
393 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 393 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698