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

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

Issue 401863003: Merge 279991 "[Android] Select text when stylus first button is ..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1985_122/src/
Patch Set: Created 6 years, 5 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 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 // Returns True if the given media should be blocked to load. 290 // Returns True if the given media should be blocked to load.
291 bool ShouldBlockMediaRequest(const GURL& url); 291 bool ShouldBlockMediaRequest(const GURL& url);
292 292
293 void DidStopFlinging(); 293 void DidStopFlinging();
294 294
295 // Returns the viewport size after accounting for the viewport offset. 295 // Returns the viewport size after accounting for the viewport offset.
296 gfx::Size GetViewSize() const; 296 gfx::Size GetViewSize() const;
297 297
298 void SetAccessibilityEnabledInternal(bool enabled); 298 void SetAccessibilityEnabledInternal(bool enabled);
299 299
300 void ShowSelectionHandlesAutomatically() const;
301
300 // -------------------------------------------------------------------------- 302 // --------------------------------------------------------------------------
301 // Methods called from native code 303 // Methods called from native code
302 // -------------------------------------------------------------------------- 304 // --------------------------------------------------------------------------
303 305
304 gfx::Size GetPhysicalBackingSize() const; 306 gfx::Size GetPhysicalBackingSize() const;
305 gfx::Size GetViewportSizeDip() const; 307 gfx::Size GetViewportSizeDip() const;
306 gfx::Size GetViewportSizeOffsetDip() const; 308 gfx::Size GetViewportSizeOffsetDip() const;
307 float GetOverdrawBottomHeightDip() const; 309 float GetOverdrawBottomHeightDip() const;
308 310
309 void AttachLayer(scoped_refptr<cc::Layer> layer); 311 void AttachLayer(scoped_refptr<cc::Layer> layer);
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 bool accessibility_enabled_; 384 bool accessibility_enabled_;
383 385
384 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 386 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
385 }; 387 };
386 388
387 bool RegisterContentViewCore(JNIEnv* env); 389 bool RegisterContentViewCore(JNIEnv* env);
388 390
389 } // namespace content 391 } // namespace content
390 392
391 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 393 #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