| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 // <http://crbug.com/34266>. Once that is fixed, this (and the corresponding | 196 // <http://crbug.com/34266>. Once that is fixed, this (and the corresponding |
| 197 // message and renderer-side handling) can be removed in favor of using | 197 // message and renderer-side handling) can be removed in favor of using |
| 198 // WasHidden/DidBecomeSelected. | 198 // WasHidden/DidBecomeSelected. |
| 199 virtual void SetWindowVisibility(bool visible) = 0; | 199 virtual void SetWindowVisibility(bool visible) = 0; |
| 200 | 200 |
| 201 // Informs the view that its containing window's frame changed. | 201 // Informs the view that its containing window's frame changed. |
| 202 virtual void WindowFrameChanged() = 0; | 202 virtual void WindowFrameChanged() = 0; |
| 203 | 203 |
| 204 // Methods associated with GPU-accelerated plug-in instances. | 204 // Methods associated with GPU-accelerated plug-in instances. |
| 205 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( | 205 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( |
| 206 bool opaque, bool root) = 0; | 206 bool opaque, bool can_draw_transparent, bool root) = 0; |
| 207 virtual void DestroyFakePluginWindowHandle( | 207 virtual void DestroyFakePluginWindowHandle( |
| 208 gfx::PluginWindowHandle window) = 0; | 208 gfx::PluginWindowHandle window) = 0; |
| 209 virtual void AcceleratedSurfaceSetIOSurface( | 209 virtual void AcceleratedSurfaceSetIOSurface( |
| 210 gfx::PluginWindowHandle window, | 210 gfx::PluginWindowHandle window, |
| 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, |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 | 260 |
| 261 // A custom background to paint behind the web content. This will be tiled | 261 // 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. | 262 // horizontally. Can be null, in which case we fall back to painting white. |
| 263 SkBitmap background_; | 263 SkBitmap background_; |
| 264 | 264 |
| 265 private: | 265 private: |
| 266 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); | 266 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); |
| 267 }; | 267 }; |
| 268 | 268 |
| 269 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ | 269 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ |
| OLD | NEW |