| 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_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ | 6 #define CONTENT_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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 virtual void GpuRenderingStateDidChange() = 0; | 269 virtual void GpuRenderingStateDidChange() = 0; |
| 270 #endif | 270 #endif |
| 271 | 271 |
| 272 #if defined(TOUCH_UI) | 272 #if defined(TOUCH_UI) |
| 273 virtual void AcceleratedSurfaceSetIOSurface( | 273 virtual void AcceleratedSurfaceSetIOSurface( |
| 274 int32 width, int32 height, uint64 surface_id) = 0; | 274 int32 width, int32 height, uint64 surface_id) = 0; |
| 275 virtual void AcceleratedSurfaceBuffersSwapped(uint64 surface_id) = 0; | 275 virtual void AcceleratedSurfaceBuffersSwapped(uint64 surface_id) = 0; |
| 276 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0; | 276 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0; |
| 277 #endif | 277 #endif |
| 278 | 278 |
| 279 #if defined(TOOLKIT_USES_GTK) | 279 #if defined(TOOLKIT_USES_GTK) && !defined(USE_AURA) |
| 280 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; | 280 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; |
| 281 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; | 281 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; |
| 282 virtual void AcceleratedCompositingActivated(bool activated) = 0; | 282 virtual void AcceleratedCompositingActivated(bool activated) = 0; |
| 283 #endif | 283 #endif |
| 284 | 284 |
| 285 #if defined(OS_WIN) | 285 #if defined(OS_WIN) |
| 286 virtual void WillWmDestroy() = 0; | 286 virtual void WillWmDestroy() = 0; |
| 287 virtual void ShowCompositorHostWindow(bool show) = 0; | 287 virtual void ShowCompositorHostWindow(bool show) = 0; |
| 288 #endif | 288 #endif |
| 289 | 289 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 | 344 |
| 345 // The current reserved area in view coordinates where contents should not be | 345 // The current reserved area in view coordinates where contents should not be |
| 346 // rendered to draw the resize corner, sidebar mini tabs etc. | 346 // rendered to draw the resize corner, sidebar mini tabs etc. |
| 347 gfx::Rect reserved_rect_; | 347 gfx::Rect reserved_rect_; |
| 348 | 348 |
| 349 private: | 349 private: |
| 350 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); | 350 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); |
| 351 }; | 351 }; |
| 352 | 352 |
| 353 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ | 353 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ |
| OLD | NEW |