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

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 66779)
+++ chrome/browser/renderer_host/render_widget_host_view_win.h (working copy)
@@ -151,6 +151,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);
@@ -158,6 +159,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);
@@ -262,6 +267,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