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

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

Issue 2502763003: Introduce ViewRoot to forward input/view events to native (Closed)
Patch Set: prevent view_root_ gc'ed Created 3 years, 12 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
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 gfx::Size GetViewSizeWithOSKHidden() const; 371 gfx::Size GetViewSizeWithOSKHidden() const;
372 372
373 void SetAccessibilityEnabledInternal(bool enabled); 373 void SetAccessibilityEnabledInternal(bool enabled);
374 374
375 bool IsFullscreenRequiredForOrientationLock() const; 375 bool IsFullscreenRequiredForOrientationLock() const;
376 376
377 // -------------------------------------------------------------------------- 377 // --------------------------------------------------------------------------
378 // Methods called from native code 378 // Methods called from native code
379 // -------------------------------------------------------------------------- 379 // --------------------------------------------------------------------------
380 380
381 gfx::Size GetPhysicalBackingSize() const;
382 gfx::Size GetViewportSizeDip() const; 381 gfx::Size GetViewportSizeDip() const;
383 bool DoBrowserControlsShrinkBlinkSize() const; 382 bool DoBrowserControlsShrinkBlinkSize() const;
384 float GetTopControlsHeightDip() const; 383 float GetTopControlsHeightDip() const;
385 float GetBottomControlsHeightDip() const; 384 float GetBottomControlsHeightDip() const;
386 385
387 void MoveRangeSelectionExtent(const gfx::PointF& extent); 386 void MoveRangeSelectionExtent(const gfx::PointF& extent);
388 387
389 void SelectBetweenCoordinates(const gfx::PointF& base, 388 void SelectBetweenCoordinates(const gfx::PointF& base,
390 const gfx::PointF& extent); 389 const gfx::PointF& extent);
391 390
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 461 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
463 462
464 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 463 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
465 }; 464 };
466 465
467 bool RegisterContentViewCore(JNIEnv* env); 466 bool RegisterContentViewCore(JNIEnv* env);
468 467
469 } // namespace content 468 } // namespace content
470 469
471 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 470 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698