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

Unified Diff: ui/android/view_android.h

Issue 2708703004: Reland "Refactor ContentViewClient (4/6)" (Closed)
Patch Set: rebased 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 68adf34d70eb8e6496ff37e547b165eb5bcc4d98..0abd77cdc40d55152a13aa423e46c79d90082f0c 100644
--- a/ui/android/view_android.h
+++ b/ui/android/view_android.h
@@ -12,6 +12,8 @@
#include "ui/android/ui_android_export.h"
#include "ui/gfx/geometry/rect_f.h"
+class GURL;
+
namespace cc {
class Layer;
}
@@ -90,6 +92,13 @@ 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