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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 int32 route_id, | 264 int32 route_id, |
265 int gpu_host_id) = 0; | 265 int gpu_host_id) = 0; |
266 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0; | 266 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0; |
267 #endif | 267 #endif |
268 | 268 |
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) && !defined(USE_AURA) |
275 virtual void WillWmDestroy() = 0; | 275 virtual void WillWmDestroy() = 0; |
276 #endif | 276 #endif |
277 | 277 |
278 #if defined(OS_POSIX) || defined(USE_AURA) | 278 #if defined(OS_POSIX) || defined(USE_AURA) |
279 static void GetDefaultScreenInfo(WebKit::WebScreenInfo* results); | 279 static void GetDefaultScreenInfo(WebKit::WebScreenInfo* results); |
280 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0; | 280 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0; |
281 virtual gfx::Rect GetRootWindowBounds() = 0; | 281 virtual gfx::Rect GetRootWindowBounds() = 0; |
282 #endif | 282 #endif |
283 | 283 |
284 virtual gfx::PluginWindowHandle GetCompositingSurface() = 0; | 284 virtual gfx::PluginWindowHandle GetCompositingSurface() = 0; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 size_t selection_text_offset_; | 355 size_t selection_text_offset_; |
356 | 356 |
357 // The current selection range relative to the start of the web page. | 357 // The current selection range relative to the start of the web page. |
358 ui::Range selection_range_; | 358 ui::Range selection_range_; |
359 | 359 |
360 private: | 360 private: |
361 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); | 361 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); |
362 }; | 362 }; |
363 | 363 |
364 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ | 364 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ |
OLD | NEW |