| 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 #if defined(TOOLKIT_USES_GTK) | 269 #if defined(TOOLKIT_USES_GTK) |
| 270 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; | 270 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; |
| 271 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; | 271 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; |
| 272 #endif | 272 #endif |
| 273 | 273 |
| 274 #if defined(OS_WIN) | 274 #if defined(OS_WIN) |
| 275 virtual void WillWmDestroy() = 0; | 275 virtual void WillWmDestroy() = 0; |
| 276 #endif | 276 #endif |
| 277 | 277 |
| 278 #if defined(OS_POSIX) | 278 #if defined(OS_POSIX) |
| 279 static void GetDefaultScreenInfo(WebKit::WebScreenInfo* results); | 279 CONTENT_EXPORT static void GetDefaultScreenInfo( |
| 280 WebKit::WebScreenInfo* results); |
| 280 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0; | 281 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0; |
| 281 virtual gfx::Rect GetRootWindowBounds() = 0; | 282 virtual gfx::Rect GetRootWindowBounds() = 0; |
| 282 #endif | 283 #endif |
| 283 | 284 |
| 284 virtual gfx::PluginWindowHandle GetCompositingSurface() = 0; | 285 virtual gfx::PluginWindowHandle GetCompositingSurface() = 0; |
| 285 | 286 |
| 286 // Toggles visual muting of the render view area. This is on when a | 287 // Toggles visual muting of the render view area. This is on when a |
| 287 // constrained window is showing, for example. |color| is the shade of | 288 // constrained window is showing, for example. |color| is the shade of |
| 288 // the overlay that covers the render view. If |animate| is true, the overlay | 289 // the overlay that covers the render view. If |animate| is true, the overlay |
| 289 // gradually fades in; otherwise it takes effect immediately. To remove the | 290 // gradually fades in; otherwise it takes effect immediately. To remove the |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 size_t selection_text_offset_; | 356 size_t selection_text_offset_; |
| 356 | 357 |
| 357 // The current selection range relative to the start of the web page. | 358 // The current selection range relative to the start of the web page. |
| 358 ui::Range selection_range_; | 359 ui::Range selection_range_; |
| 359 | 360 |
| 360 private: | 361 private: |
| 361 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); | 362 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); |
| 362 }; | 363 }; |
| 363 | 364 |
| 364 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ | 365 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ |
| OLD | NEW |