Chromium Code Reviews| 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 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 | 10 |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 212 virtual gfx::Rect GetViewCocoaBounds() const; | 212 virtual gfx::Rect GetViewCocoaBounds() const; |
| 213 virtual gfx::Rect GetRootWindowRect(); | 213 virtual gfx::Rect GetRootWindowRect(); |
| 214 virtual void SetActive(bool active); | 214 virtual void SetActive(bool active); |
| 215 virtual void SetWindowVisibility(bool visible); | 215 virtual void SetWindowVisibility(bool visible); |
| 216 virtual void WindowFrameChanged(); | 216 virtual void WindowFrameChanged(); |
| 217 virtual void SetBackground(const SkBitmap& background); | 217 virtual void SetBackground(const SkBitmap& background); |
| 218 virtual bool ContainsNativeView(gfx::NativeView native_view) const; | 218 virtual bool ContainsNativeView(gfx::NativeView native_view) const; |
| 219 | 219 |
| 220 virtual void OnAccessibilityNotifications( | 220 virtual void OnAccessibilityNotifications( |
| 221 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); | 221 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); |
| 222 | 222 |
|
oshima
2011/05/25 17:18:18
ditto (line, OVERRIDE)
| |
| 223 virtual void PpapiPluginFocusChanged(bool focused); | |
| 224 | |
| 223 virtual void PluginFocusChanged(bool focused, int plugin_id); | 225 virtual void PluginFocusChanged(bool focused, int plugin_id); |
| 224 virtual void StartPluginIme(); | 226 virtual void StartPluginIme(); |
| 225 virtual bool PostProcessEventForPluginIme( | 227 virtual bool PostProcessEventForPluginIme( |
| 226 const NativeWebKeyboardEvent& event); | 228 const NativeWebKeyboardEvent& event); |
| 227 | 229 |
| 228 // Methods associated with GPU-accelerated plug-in instances and the | 230 // Methods associated with GPU-accelerated plug-in instances and the |
| 229 // accelerated compositor. | 231 // accelerated compositor. |
| 230 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle(bool opaque, | 232 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle(bool opaque, |
| 231 bool root); | 233 bool root); |
| 232 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); | 234 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 379 // hidden until the software backing store has been updated. This variable is | 381 // hidden until the software backing store has been updated. This variable is |
| 380 // set when the gpu widget needs to be hidden once a paint is completed. | 382 // set when the gpu widget needs to be hidden once a paint is completed. |
| 381 bool needs_gpu_visibility_update_after_repaint_; | 383 bool needs_gpu_visibility_update_after_repaint_; |
| 382 | 384 |
| 383 gfx::PluginWindowHandle compositing_surface_; | 385 gfx::PluginWindowHandle compositing_surface_; |
| 384 | 386 |
| 385 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 387 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 386 }; | 388 }; |
| 387 | 389 |
| 388 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 390 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |