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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view_win.h

Issue 4815001: Use inner HWND for accelerated rendering on windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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: chrome/browser/renderer_host/render_widget_host_view_win.h
===================================================================
--- chrome/browser/renderer_host/render_widget_host_view_win.h (revision 67491)
+++ chrome/browser/renderer_host/render_widget_host_view_win.h (working copy)
@@ -154,6 +154,7 @@
const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
const std::vector<gfx::Rect>& copy_rects);
virtual void RenderViewGone();
+ virtual void WillWmDestroy(); // called by TabContents before DestroyWindow
virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh);
virtual void Destroy();
virtual void SetTooltipText(const std::wstring& tooltip_text);
@@ -161,6 +162,10 @@
virtual void SetBackground(const SkBitmap& background);
virtual bool ContainsNativeView(gfx::NativeView native_view) const;
virtual void SetVisuallyDeemphasized(bool deemphasized);
+
+ virtual gfx::PluginWindowHandle CreateCompositorHostWindow();
+ virtual void ShowCompositorHostWindow(bool show);
+
virtual void OnAccessibilityNotifications(
const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params);
@@ -265,6 +270,9 @@
// The associated Model.
RenderWidgetHost* render_widget_host_;
+ // When we are doing accelerated compositing
+ HWND compositor_host_window_;
+
// The cursor for the page. This is passed up from the renderer.
WebCursor current_cursor_;

Powered by Google App Engine
This is Rietveld 408576698