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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
255 uint64 swap_buffers_count); | 255 uint64 swap_buffers_count); |
256 virtual void GpuRenderingStateDidChange(); | 256 virtual void GpuRenderingStateDidChange(); |
257 void DrawAcceleratedSurfaceInstance( | 257 void DrawAcceleratedSurfaceInstance( |
258 CGLContextObj context, | 258 CGLContextObj context, |
259 gfx::PluginWindowHandle plugin_handle, | 259 gfx::PluginWindowHandle plugin_handle, |
260 NSSize size); | 260 NSSize size); |
261 // Forces the textures associated with any accelerated plugin instances | 261 // Forces the textures associated with any accelerated plugin instances |
262 // to be reloaded. | 262 // to be reloaded. |
263 void ForceTextureReload(); | 263 void ForceTextureReload(); |
264 | 264 |
265 virtual void SetVisuallyDeemphasized(bool deemphasized); | 265 // This is not used on mac. |
266 virtual void SetVisuallyDeemphasized(const SkColor* color, | |
267 bool animate) { } | |
sky
2010/12/11 00:16:26
nit: no space between the parens.
I also thought
Evan Stade
2010/12/11 00:22:20
oh, right.
| |
266 | 268 |
267 void KillSelf(); | 269 void KillSelf(); |
268 | 270 |
269 void SetTextInputActive(bool active); | 271 void SetTextInputActive(bool active); |
270 | 272 |
271 // Sends confirmed plugin IME text back to the renderer. | 273 // Sends confirmed plugin IME text back to the renderer. |
272 void PluginImeCompositionConfirmed(const string16& text, int plugin_id); | 274 void PluginImeCompositionConfirmed(const string16& text, int plugin_id); |
273 | 275 |
274 const std::string& selected_text() const { return selected_text_; } | 276 const std::string& selected_text() const { return selected_text_; } |
275 | 277 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
364 | 366 |
365 // When rendering transitions from gpu to software, the gpu widget can't be | 367 // When rendering transitions from gpu to software, the gpu widget can't be |
366 // hidden until the software backing store has been updated. This variable is | 368 // hidden until the software backing store has been updated. This variable is |
367 // set when the gpu widget needs to be hidden once a paint is completed. | 369 // set when the gpu widget needs to be hidden once a paint is completed. |
368 bool needs_gpu_visibility_update_after_repaint_; | 370 bool needs_gpu_visibility_update_after_repaint_; |
369 | 371 |
370 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 372 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
371 }; | 373 }; |
372 | 374 |
373 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 375 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |