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

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

Issue 11195033: Upstream hooks for javascript touch handlers on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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_helper.h" 10 #include "base/android/jni_helper.h"
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 void UpdatePageScaleLimits(float minimum_scale, float maximum_scale); 191 void UpdatePageScaleLimits(float minimum_scale, float maximum_scale);
192 void ImeUpdateAdapter(int native_ime_adapter, int text_input_type, 192 void ImeUpdateAdapter(int native_ime_adapter, int text_input_type,
193 const std::string& text, 193 const std::string& text,
194 int selection_start, int selection_end, 194 int selection_start, int selection_end,
195 int composition_start, int composition_end, 195 int composition_start, int composition_end,
196 bool show_ime_if_needed); 196 bool show_ime_if_needed);
197 void SetTitle(const string16& title); 197 void SetTitle(const string16& title);
198 198
199 bool HasFocus(); 199 bool HasFocus();
200 void ConfirmTouchEvent(bool handled); 200 void ConfirmTouchEvent(bool handled);
201 void DidSetNeedTouchEvents(bool need_touch_events); 201 void HasTouchEventHandlers(bool need_touch_events);
202 void OnSelectionChanged(const std::string& text); 202 void OnSelectionChanged(const std::string& text);
203 void OnSelectionBoundsChanged( 203 void OnSelectionBoundsChanged(
204 const gfx::Rect& start_rect, base::i18n::TextDirection start_dir, 204 const gfx::Rect& start_rect, base::i18n::TextDirection start_dir,
205 const gfx::Rect& end_rect, base::i18n::TextDirection end_dir); 205 const gfx::Rect& end_rect, base::i18n::TextDirection end_dir);
206 206
207 void StartContentIntent(const GURL& content_url); 207 void StartContentIntent(const GURL& content_url);
208 208
209 // -------------------------------------------------------------------------- 209 // --------------------------------------------------------------------------
210 // Methods called from native code 210 // Methods called from native code
211 // -------------------------------------------------------------------------- 211 // --------------------------------------------------------------------------
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 ui::WindowAndroid* window_android_; 258 ui::WindowAndroid* window_android_;
259 259
260 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 260 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
261 }; 261 };
262 262
263 bool RegisterContentViewCore(JNIEnv* env); 263 bool RegisterContentViewCore(JNIEnv* env);
264 264
265 } // namespace content 265 } // namespace content
266 266
267 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 267 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698