| 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 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); |
| 266 | 266 |
| 267 void KillSelf(); | 267 void KillSelf(); |
| 268 | 268 |
| 269 void SetTextInputActive(bool active); | 269 void SetTextInputActive(bool active); |
| 270 | 270 |
| 271 // Sends confirmed plugin IME text back to the renderer. | 271 // Sends confirmed plugin IME text back to the renderer. |
| 272 void PluginImeCompositionConfirmed(const string16& text, int plugin_id); | 272 void PluginImeCompositionConfirmed(const string16& text, int plugin_id); |
| 273 | 273 |
| 274 const std::string& selected_text() const { return selected_text_; } | 274 const std::string& selected_text() const { return selected_text_; } |
| 275 | 275 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 | 364 |
| 365 // When rendering transitions from gpu to software, the gpu widget can't be | 365 // 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 | 366 // 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. | 367 // set when the gpu widget needs to be hidden once a paint is completed. |
| 368 bool needs_gpu_visibility_update_after_repaint_; | 368 bool needs_gpu_visibility_update_after_repaint_; |
| 369 | 369 |
| 370 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 370 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 371 }; | 371 }; |
| 372 | 372 |
| 373 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 373 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |