OLD | NEW |
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 int32 height, | 76 int32 height, |
77 uint64* surface_id, | 77 uint64* surface_id, |
78 TransportDIB::Handle* surface_handle) OVERRIDE; | 78 TransportDIB::Handle* surface_handle) OVERRIDE; |
79 virtual void AcceleratedSurfaceBuffersSwapped( | 79 virtual void AcceleratedSurfaceBuffersSwapped( |
80 uint64 surface_id, | 80 uint64 surface_id, |
81 int32 route_id, | 81 int32 route_id, |
82 int gpu_host_id) OVERRIDE; | 82 int gpu_host_id) OVERRIDE; |
83 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE; | 83 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE; |
84 #endif | 84 #endif |
85 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 85 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
86 #if defined(OS_POSIX) | |
87 virtual void GetDefaultScreenInfo(WebKit::WebScreenInfo* results); | 86 virtual void GetDefaultScreenInfo(WebKit::WebScreenInfo* results); |
88 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 87 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
89 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; | 88 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; |
90 #endif | |
91 virtual void SetVisuallyDeemphasized(const SkColor* color, | 89 virtual void SetVisuallyDeemphasized(const SkColor* color, |
92 bool animate) OVERRIDE; | 90 bool animate) OVERRIDE; |
93 virtual void UnhandledWheelEvent( | 91 virtual void UnhandledWheelEvent( |
94 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 92 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
95 virtual void SetHasHorizontalScrollbar( | 93 virtual void SetHasHorizontalScrollbar( |
96 bool has_horizontal_scrollbar) OVERRIDE; | 94 bool has_horizontal_scrollbar) OVERRIDE; |
97 virtual void SetScrollOffsetPinning( | 95 virtual void SetScrollOffsetPinning( |
98 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 96 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
99 #if defined(OS_WIN) | 97 #if defined(OS_WIN) |
100 virtual void WillWmDestroy() OVERRIDE; | 98 virtual void WillWmDestroy() OVERRIDE; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerLinux> > | 159 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerLinux> > |
162 accelerated_surface_containers_; | 160 accelerated_surface_containers_; |
163 #endif | 161 #endif |
164 | 162 |
165 bool skip_schedule_paint_; | 163 bool skip_schedule_paint_; |
166 | 164 |
167 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 165 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
168 }; | 166 }; |
169 | 167 |
170 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 168 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |