| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #if defined(OS_MACOSX) | 9 #if defined(OS_MACOSX) |
| 10 #include <OpenGL/OpenGL.h> | 10 #include <OpenGL/OpenGL.h> |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 int32 width, | 211 int32 width, |
| 212 int32 height, | 212 int32 height, |
| 213 uint64 io_surface_identifier) = 0; | 213 uint64 io_surface_identifier) = 0; |
| 214 virtual void AcceleratedSurfaceSetTransportDIB( | 214 virtual void AcceleratedSurfaceSetTransportDIB( |
| 215 gfx::PluginWindowHandle window, | 215 gfx::PluginWindowHandle window, |
| 216 int32 width, | 216 int32 width, |
| 217 int32 height, | 217 int32 height, |
| 218 TransportDIB::Handle transport_dib) = 0; | 218 TransportDIB::Handle transport_dib) = 0; |
| 219 virtual void AcceleratedSurfaceBuffersSwapped( | 219 virtual void AcceleratedSurfaceBuffersSwapped( |
| 220 gfx::PluginWindowHandle window) = 0; | 220 gfx::PluginWindowHandle window) = 0; |
| 221 virtual void GpuRenderingStateDidChange() = 0; |
| 221 #endif | 222 #endif |
| 222 | 223 |
| 223 #if defined(TOOLKIT_USES_GTK) | 224 #if defined(TOOLKIT_USES_GTK) |
| 224 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; | 225 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; |
| 225 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; | 226 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; |
| 226 #endif | 227 #endif |
| 227 | 228 |
| 228 // Toggles visual muting of the render view area. This is on when a | 229 // Toggles visual muting of the render view area. This is on when a |
| 229 // constrained window is showing. | 230 // constrained window is showing. |
| 230 virtual void SetVisuallyDeemphasized(bool deemphasized) = 0; | 231 virtual void SetVisuallyDeemphasized(bool deemphasized) = 0; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 260 | 261 |
| 261 // A custom background to paint behind the web content. This will be tiled | 262 // A custom background to paint behind the web content. This will be tiled |
| 262 // horizontally. Can be null, in which case we fall back to painting white. | 263 // horizontally. Can be null, in which case we fall back to painting white. |
| 263 SkBitmap background_; | 264 SkBitmap background_; |
| 264 | 265 |
| 265 private: | 266 private: |
| 266 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); | 267 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); |
| 267 }; | 268 }; |
| 268 | 269 |
| 269 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ | 270 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ |
| OLD | NEW |