| 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; | 263 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; |
| 264 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; | 264 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; |
| 265 virtual void AcceleratedCompositingActivated(bool activated) = 0; | 265 virtual void AcceleratedCompositingActivated(bool activated) = 0; |
| 266 #endif | 266 #endif |
| 267 | 267 |
| 268 #if defined(OS_WIN) | 268 #if defined(OS_WIN) |
| 269 virtual void WillWmDestroy() = 0; | 269 virtual void WillWmDestroy() = 0; |
| 270 virtual void ShowCompositorHostWindow(bool show) = 0; | 270 virtual void ShowCompositorHostWindow(bool show) = 0; |
| 271 #endif | 271 #endif |
| 272 | 272 |
| 273 virtual gfx::PluginWindowHandle AcquireCompositingSurface() = 0; | 273 virtual gfx::PluginWindowHandle GetCompositingSurface() = 0; |
| 274 virtual void ReleaseCompositingSurface(gfx::PluginWindowHandle surface) = 0; | |
| 275 | 274 |
| 276 // Toggles visual muting of the render view area. This is on when a | 275 // Toggles visual muting of the render view area. This is on when a |
| 277 // constrained window is showing, for example. |color| is the shade of | 276 // constrained window is showing, for example. |color| is the shade of |
| 278 // the overlay that covers the render view. If |animate| is true, the overlay | 277 // the overlay that covers the render view. If |animate| is true, the overlay |
| 279 // gradually fades in; otherwise it takes effect immediately. To remove the | 278 // gradually fades in; otherwise it takes effect immediately. To remove the |
| 280 // fade effect, pass a NULL value for |color|. In this case, |animate| is | 279 // fade effect, pass a NULL value for |color|. In this case, |animate| is |
| 281 // ignored. | 280 // ignored. |
| 282 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate) = 0; | 281 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate) = 0; |
| 283 | 282 |
| 284 void set_popup_type(WebKit::WebPopupType popup_type) { | 283 void set_popup_type(WebKit::WebPopupType popup_type) { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 | 321 |
| 323 // The current reserved area in view coordinates where contents should not be | 322 // The current reserved area in view coordinates where contents should not be |
| 324 // rendered to draw the resize corner, sidebar mini tabs etc. | 323 // rendered to draw the resize corner, sidebar mini tabs etc. |
| 325 gfx::Rect reserved_rect_; | 324 gfx::Rect reserved_rect_; |
| 326 | 325 |
| 327 private: | 326 private: |
| 328 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); | 327 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); |
| 329 }; | 328 }; |
| 330 | 329 |
| 331 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ | 330 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ |
| OLD | NEW |