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

Unified Diff: ui/android/view_android.h

Issue 2708703004: Reland "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 e446048580dc6d63d456cff04791170fa19bfccc..05d812033511973c0c8664ce730157053a5a6251 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,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);

Powered by Google App Engine
This is Rietveld 408576698