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

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

Issue 15029006: Make it possible for the scroll offset delegate to intercept fling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reactivate the patch! Created 7 years, 4 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 | « cc/trees/layer_tree_settings.cc ('k') | 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 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 const std::string& text, 246 const std::string& text,
247 int selection_start, int selection_end, 247 int selection_start, int selection_end,
248 int composition_start, int composition_end, 248 int composition_start, int composition_end,
249 bool show_ime_if_needed); 249 bool show_ime_if_needed);
250 void ProcessImeBatchStateAck(bool is_begin); 250 void ProcessImeBatchStateAck(bool is_begin);
251 void SetTitle(const string16& title); 251 void SetTitle(const string16& title);
252 void OnBackgroundColorChanged(SkColor color); 252 void OnBackgroundColorChanged(SkColor color);
253 253
254 bool HasFocus(); 254 bool HasFocus();
255 void ConfirmTouchEvent(InputEventAckState ack_result); 255 void ConfirmTouchEvent(InputEventAckState ack_result);
256 void UnhandledFlingStartEvent();
256 void HasTouchEventHandlers(bool need_touch_events); 257 void HasTouchEventHandlers(bool need_touch_events);
257 void OnSelectionChanged(const std::string& text); 258 void OnSelectionChanged(const std::string& text);
258 void OnSelectionBoundsChanged( 259 void OnSelectionBoundsChanged(
259 const ViewHostMsg_SelectionBounds_Params& params); 260 const ViewHostMsg_SelectionBounds_Params& params);
260 261
261 void StartContentIntent(const GURL& content_url); 262 void StartContentIntent(const GURL& content_url);
262 263
263 // Shows the disambiguation popup 264 // Shows the disambiguation popup
264 // |target_rect| --> window coordinates which |zoomed_bitmap| represents 265 // |target_rect| --> window coordinates which |zoomed_bitmap| represents
265 // |zoomed_bitmap| --> magnified image of potential touch targets 266 // |zoomed_bitmap| --> magnified image of potential touch targets
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 ui::WindowAndroid* window_android_; 364 ui::WindowAndroid* window_android_;
364 365
365 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 366 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
366 }; 367 };
367 368
368 bool RegisterContentViewCore(JNIEnv* env); 369 bool RegisterContentViewCore(JNIEnv* env);
369 370
370 } // namespace content 371 } // namespace content
371 372
372 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 373 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698