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

Unified Diff: ui/android/view_android.h

Issue 2682593002: Refactor ContentViewClient (4/6) (Closed)
Patch Set: . 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
Index: ui/android/view_android.h
diff --git a/ui/android/view_android.h b/ui/android/view_android.h
index 68adf34d70eb8e6496ff37e547b165eb5bcc4d98..38c4acf5fd062256a483f69a4e3b2b3b8b6cb82b 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,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);

Powered by Google App Engine
This is Rietveld 408576698