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

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

Issue 2133873004: content: Move Surfaces related code out of RWHVA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed overscroll change Created 4 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
« 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 380
381 // -------------------------------------------------------------------------- 381 // --------------------------------------------------------------------------
382 // Methods called from native code 382 // Methods called from native code
383 // -------------------------------------------------------------------------- 383 // --------------------------------------------------------------------------
384 384
385 gfx::Size GetPhysicalBackingSize() const; 385 gfx::Size GetPhysicalBackingSize() const;
386 gfx::Size GetViewportSizeDip() const; 386 gfx::Size GetViewportSizeDip() const;
387 bool DoTopControlsShrinkBlinkSize() const; 387 bool DoTopControlsShrinkBlinkSize() const;
388 float GetTopControlsHeightDip() const; 388 float GetTopControlsHeightDip() const;
389 389
390 void AttachLayer(scoped_refptr<cc::Layer> layer);
391 void RemoveLayer(scoped_refptr<cc::Layer> layer);
392
393 void MoveRangeSelectionExtent(const gfx::PointF& extent); 390 void MoveRangeSelectionExtent(const gfx::PointF& extent);
394 391
395 void SelectBetweenCoordinates(const gfx::PointF& base, 392 void SelectBetweenCoordinates(const gfx::PointF& base,
396 const gfx::PointF& extent); 393 const gfx::PointF& extent);
397 394
398 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); 395 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip);
399 396
400 ui::ViewAndroid* GetViewAndroid(); 397 ui::ViewAndroid* GetViewAndroid();
401 398
402 private: 399 private:
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 471 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
475 472
476 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 473 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
477 }; 474 };
478 475
479 bool RegisterContentViewCore(JNIEnv* env); 476 bool RegisterContentViewCore(JNIEnv* env);
480 477
481 } // namespace content 478 } // namespace content
482 479
483 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 480 #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