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

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

Issue 342633003: [Android] Select text when stylus first button is pressed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed signed unsigned comparison error Created 6 years, 6 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
« 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 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 // Returns True if the given media should be blocked to load. 313 // Returns True if the given media should be blocked to load.
314 bool ShouldBlockMediaRequest(const GURL& url); 314 bool ShouldBlockMediaRequest(const GURL& url);
315 315
316 void DidStopFlinging(); 316 void DidStopFlinging();
317 317
318 // Returns the viewport size after accounting for the viewport offset. 318 // Returns the viewport size after accounting for the viewport offset.
319 gfx::Size GetViewSize() const; 319 gfx::Size GetViewSize() const;
320 320
321 void SetAccessibilityEnabledInternal(bool enabled); 321 void SetAccessibilityEnabledInternal(bool enabled);
322 322
323 void ShowSelectionHandlesAutomatically() const;
324
323 // -------------------------------------------------------------------------- 325 // --------------------------------------------------------------------------
324 // Methods called from native code 326 // Methods called from native code
325 // -------------------------------------------------------------------------- 327 // --------------------------------------------------------------------------
326 328
327 gfx::Size GetPhysicalBackingSize() const; 329 gfx::Size GetPhysicalBackingSize() const;
328 gfx::Size GetViewportSizeDip() const; 330 gfx::Size GetViewportSizeDip() const;
329 gfx::Size GetViewportSizeOffsetDip() const; 331 gfx::Size GetViewportSizeOffsetDip() const;
330 float GetOverdrawBottomHeightDip() const; 332 float GetOverdrawBottomHeightDip() const;
331 333
332 void AttachLayer(scoped_refptr<cc::Layer> layer); 334 void AttachLayer(scoped_refptr<cc::Layer> layer);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 java_bridge_dispatcher_host_manager_; 404 java_bridge_dispatcher_host_manager_;
403 405
404 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 406 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
405 }; 407 };
406 408
407 bool RegisterContentViewCore(JNIEnv* env); 409 bool RegisterContentViewCore(JNIEnv* env);
408 410
409 } // namespace content 411 } // namespace content
410 412
411 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 413 #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