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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 9582003: Support browser side thumbnailing for GPU composited pages on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; 60 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE;
61 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; 61 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE;
62 virtual bool HasFocus() const OVERRIDE; 62 virtual bool HasFocus() const OVERRIDE;
63 virtual void Show() OVERRIDE; 63 virtual void Show() OVERRIDE;
64 virtual void Hide() OVERRIDE; 64 virtual void Hide() OVERRIDE;
65 virtual bool IsShowing() OVERRIDE; 65 virtual bool IsShowing() OVERRIDE;
66 virtual gfx::Rect GetViewBounds() const OVERRIDE; 66 virtual gfx::Rect GetViewBounds() const OVERRIDE;
67 virtual void UnhandledWheelEvent( 67 virtual void UnhandledWheelEvent(
68 const WebKit::WebMouseWheelEvent& event) OVERRIDE; 68 const WebKit::WebMouseWheelEvent& event) OVERRIDE;
69 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 69 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
70 virtual bool CopyFromCompositingSurface(
71 const gfx::Size& size,
72 skia::PlatformCanvas* output) OVERRIDE;
70 73
71 // Overridden from RenderWidgetHostViewPort: 74 // Overridden from RenderWidgetHostViewPort:
72 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, 75 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view,
73 const gfx::Rect& pos) OVERRIDE; 76 const gfx::Rect& pos) OVERRIDE;
74 virtual void InitAsFullscreen( 77 virtual void InitAsFullscreen(
75 content::RenderWidgetHostView* reference_host_view) OVERRIDE; 78 content::RenderWidgetHostView* reference_host_view) OVERRIDE;
76 virtual void DidBecomeSelected() OVERRIDE; 79 virtual void DidBecomeSelected() OVERRIDE;
77 virtual void WasHidden() OVERRIDE; 80 virtual void WasHidden() OVERRIDE;
78 virtual void MovePluginWindows( 81 virtual void MovePluginWindows(
79 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; 82 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE;
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 bool needs_update_texture_; 283 bool needs_update_texture_;
281 284
282 // Used to prevent further resizes while a resize is pending. 285 // Used to prevent further resizes while a resize is pending.
283 class ResizeLock; 286 class ResizeLock;
284 std::vector<linked_ptr<ResizeLock> > resize_locks_; 287 std::vector<linked_ptr<ResizeLock> > resize_locks_;
285 288
286 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 289 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
287 }; 290 };
288 291
289 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 292 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698