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

Unified Diff: ui/android/view_android.h

Issue 2682593002: Refactor ContentViewClient (4/6) (Closed)
Patch Set: shell vad Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java ('k') | ui/android/view_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/view_android.h
diff --git a/ui/android/view_android.h b/ui/android/view_android.h
index e446048580dc6d63d456cff04791170fa19bfccc..22780e6b0bf20cd4460b80dde3e173cc4fab8c55 100644
--- a/ui/android/view_android.h
+++ b/ui/android/view_android.h
@@ -13,6 +13,8 @@
#include "ui/android/view_client.h"
#include "ui/gfx/geometry/rect_f.h"
+class GURL;
+
namespace cc {
class Layer;
}
@@ -102,6 +104,14 @@ class UI_ANDROID_EXPORT ViewAndroid {
bool StartDragAndDrop(const base::android::JavaRef<jstring>& jtext,
const base::android::JavaRef<jobject>& jimage);
+ void OnBackgroundColorChanged(unsigned int color);
+ void OnTopControlsChanged(float top_controls_offset,
+ float top_content_offset);
+ void OnBottomControlsChanged(float bottom_controls_offset,
+ float bottom_content_offset);
+ void StartContentIntent(const GURL& content_url,
+ bool is_main_frame);
+
ScopedAnchorView AcquireAnchorView();
void SetAnchorRect(const base::android::JavaRef<jobject>& anchor,
const gfx::RectF& bounds);
« no previous file with comments | « ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java ('k') | ui/android/view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698