OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_MAC_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
10 #import <QuartzCore/CALayer.h> | 10 #import <QuartzCore/CALayer.h> |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 bool right_aligned); | 212 bool right_aligned); |
213 virtual gfx::Rect GetWindowRect(); | 213 virtual gfx::Rect GetWindowRect(); |
214 virtual gfx::Rect GetRootWindowRect(); | 214 virtual gfx::Rect GetRootWindowRect(); |
215 virtual void SetActive(bool active); | 215 virtual void SetActive(bool active); |
216 virtual void SetWindowVisibility(bool visible); | 216 virtual void SetWindowVisibility(bool visible); |
217 virtual void WindowFrameChanged(); | 217 virtual void WindowFrameChanged(); |
218 virtual void SetBackground(const SkBitmap& background); | 218 virtual void SetBackground(const SkBitmap& background); |
219 virtual bool ContainsNativeView(gfx::NativeView native_view) const; | 219 virtual bool ContainsNativeView(gfx::NativeView native_view) const; |
220 virtual void UpdateAccessibilityTree( | 220 virtual void UpdateAccessibilityTree( |
221 const webkit_glue::WebAccessibility& tree); | 221 const webkit_glue::WebAccessibility& tree); |
222 virtual void OnAccessibilityFocusChange(int acc_obj_id); | |
223 virtual void OnAccessibilityObjectStateChange(int acc_obj_id); | |
224 // Methods associated with GPU-accelerated plug-in instances and the | 222 // Methods associated with GPU-accelerated plug-in instances and the |
225 // accelerated compositor. | 223 // accelerated compositor. |
226 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle(bool opaque, | 224 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle(bool opaque, |
227 bool root); | 225 bool root); |
228 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); | 226 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); |
229 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, | 227 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, |
230 int32 width, | 228 int32 width, |
231 int32 height, | 229 int32 height, |
232 uint64 io_surface_identifier); | 230 uint64 io_surface_identifier); |
233 virtual void AcceleratedSurfaceSetTransportDIB( | 231 virtual void AcceleratedSurfaceSetTransportDIB( |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 // Whether or not web accessibility is enabled. | 337 // Whether or not web accessibility is enabled. |
340 bool renderer_accessible_; | 338 bool renderer_accessible_; |
341 | 339 |
342 // selected text on the renderer. | 340 // selected text on the renderer. |
343 std::string selected_text_; | 341 std::string selected_text_; |
344 | 342 |
345 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 343 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
346 }; | 344 }; |
347 | 345 |
348 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 346 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |