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

Unified Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 10828356: Very basic Android browser-side compositing support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ifdef Attach/RemoveLayer API Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index 940ba020bf39ae745fac7520c62af023fa3a9167..15b3f3f56e2458831eb9d1a5c94ee71a894c2c06 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -366,6 +366,14 @@ class CONTENT_EXPORT RenderViewHostImpl
const NativeWebKeyboardEvent& key_event) OVERRIDE;
virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
+#if defined(OS_ANDROID)
+ virtual void AttachLayer(WebKit::WebLayer* layer) OVERRIDE;
+ virtual void RemoveLayer(WebKit::WebLayer* layer) OVERRIDE;
+
+ void DidSelectPopupMenuItems(const std::vector<int>& selected_indices);
+ void DidCancelPopupMenu();
jam 2012/09/04 16:44:48 nit: you have this twice now.. also, I think it's
+#endif
+
// Creates a new RenderView with the given route id.
void CreateNewWindow(
int route_id,
@@ -385,11 +393,6 @@ class CONTENT_EXPORT RenderViewHostImpl
void DidCancelPopupMenu();
#endif
-#if defined(OS_ANDROID)
- void DidSelectPopupMenuItems(const std::vector<int>& selected_indices);
- void DidCancelPopupMenu();
-#endif
-
// User rotated the screen. Calls the "onorientationchange" Javascript hook.
void SendOrientationChangeEvent(int orientation);

Powered by Google App Engine
This is Rietveld 408576698