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

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

Issue 8591006: Reland 110355 - Use shared D3D9 texture to transport the compositor's backing buffer to the brows... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual void ImeCancelComposition() OVERRIDE; 63 virtual void ImeCancelComposition() OVERRIDE;
64 virtual void DidUpdateBackingStore( 64 virtual void DidUpdateBackingStore(
65 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, 65 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy,
66 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; 66 const std::vector<gfx::Rect>& copy_rects) OVERRIDE;
67 virtual void RenderViewGone(base::TerminationStatus status, 67 virtual void RenderViewGone(base::TerminationStatus status,
68 int error_code) OVERRIDE; 68 int error_code) OVERRIDE;
69 virtual void Destroy() OVERRIDE; 69 virtual void Destroy() OVERRIDE;
70 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; 70 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE;
71 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 71 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
72 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 72 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
73 virtual void AcceleratedSurfaceBuffersSwapped(
74 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
75 int gpu_host_id) OVERRIDE;
73 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT) 76 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT)
74 virtual void AcceleratedSurfaceNew( 77 virtual void AcceleratedSurfaceNew(
75 int32 width, 78 int32 width,
76 int32 height, 79 int32 height,
77 uint64* surface_id, 80 uint64* surface_id,
78 TransportDIB::Handle* surface_handle) OVERRIDE; 81 TransportDIB::Handle* surface_handle) OVERRIDE;
79 virtual void AcceleratedSurfaceBuffersSwapped(
80 uint64 surface_id,
81 int32 route_id,
82 int gpu_host_id) OVERRIDE;
83 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE; 82 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE;
84 #endif 83 #endif
85 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 84 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
86 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; 85 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE;
87 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; 86 virtual gfx::Rect GetRootWindowBounds() OVERRIDE;
88 virtual void SetVisuallyDeemphasized(const SkColor* color, 87 virtual void SetVisuallyDeemphasized(const SkColor* color,
89 bool animate) OVERRIDE; 88 bool animate) OVERRIDE;
90 virtual void UnhandledWheelEvent( 89 virtual void UnhandledWheelEvent(
91 const WebKit::WebMouseWheelEvent& event) OVERRIDE; 90 const WebKit::WebMouseWheelEvent& event) OVERRIDE;
92 virtual void SetHasHorizontalScrollbar( 91 virtual void SetHasHorizontalScrollbar(
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerLinux> > 154 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerLinux> >
156 accelerated_surface_containers_; 155 accelerated_surface_containers_;
157 #endif 156 #endif
158 157
159 bool skip_schedule_paint_; 158 bool skip_schedule_paint_;
160 159
161 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 160 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
162 }; 161 };
163 162
164 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 163 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view.h ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698