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

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

Issue 2626723003: Revert "Introduce ViewRoot forwarding input/view events to native" (Closed)
Patch Set: Created 3 years, 11 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;
381 gfx::Size GetViewportSizeDip() const; 382 gfx::Size GetViewportSizeDip() const;
382 bool DoBrowserControlsShrinkBlinkSize() const; 383 bool DoBrowserControlsShrinkBlinkSize() const;
383 float GetTopControlsHeightDip() const; 384 float GetTopControlsHeightDip() const;
384 float GetBottomControlsHeightDip() const; 385 float GetBottomControlsHeightDip() const;
385 386
386 void MoveRangeSelectionExtent(const gfx::PointF& extent); 387 void MoveRangeSelectionExtent(const gfx::PointF& extent);
387 388
388 void SelectBetweenCoordinates(const gfx::PointF& base, 389 void SelectBetweenCoordinates(const gfx::PointF& base,
389 const gfx::PointF& extent); 390 const gfx::PointF& extent);
390 391
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 462 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
462 463
463 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 464 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
464 }; 465 };
465 466
466 bool RegisterContentViewCore(JNIEnv* env); 467 bool RegisterContentViewCore(JNIEnv* env);
467 468
468 } // namespace content 469 } // namespace content
469 470
470 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 471 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698