OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_MAC_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 6 #define CONTENT_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 #include <list> | 10 #include <list> |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 // See comment in RenderWidgetHostView! | 239 // See comment in RenderWidgetHostView! |
240 virtual gfx::Rect GetViewCocoaBounds() const OVERRIDE; | 240 virtual gfx::Rect GetViewCocoaBounds() const OVERRIDE; |
241 | 241 |
242 virtual void OnAccessibilityNotifications( | 242 virtual void OnAccessibilityNotifications( |
243 const std::vector<AccessibilityHostMsg_NotificationParams>& params | 243 const std::vector<AccessibilityHostMsg_NotificationParams>& params |
244 ) OVERRIDE; | 244 ) OVERRIDE; |
245 | 245 |
246 virtual void PluginFocusChanged(bool focused, int plugin_id) OVERRIDE; | 246 virtual void PluginFocusChanged(bool focused, int plugin_id) OVERRIDE; |
247 virtual void StartPluginIme() OVERRIDE; | 247 virtual void StartPluginIme() OVERRIDE; |
248 virtual bool PostProcessEventForPluginIme( | 248 virtual bool PostProcessEventForPluginIme( |
249 const NativeWebKeyboardEvent& event) OVERRIDE; | 249 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
250 | 250 |
251 // Methods associated with GPU-accelerated plug-in instances and the | 251 // Methods associated with GPU-accelerated plug-in instances and the |
252 // accelerated compositor. | 252 // accelerated compositor. |
253 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( | 253 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( |
254 bool opaque, bool root) OVERRIDE; | 254 bool opaque, bool root) OVERRIDE; |
255 virtual void DestroyFakePluginWindowHandle( | 255 virtual void DestroyFakePluginWindowHandle( |
256 gfx::PluginWindowHandle window) OVERRIDE; | 256 gfx::PluginWindowHandle window) OVERRIDE; |
257 | 257 |
258 // Exposed for testing. | 258 // Exposed for testing. |
259 CONTENT_EXPORT AcceleratedPluginView* ViewForPluginWindowHandle( | 259 CONTENT_EXPORT AcceleratedPluginView* ViewForPluginWindowHandle( |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 std::string selected_text_; | 417 std::string selected_text_; |
418 | 418 |
419 // The fullscreen window used for pepper flash. | 419 // The fullscreen window used for pepper flash. |
420 scoped_nsobject<NSWindow> pepper_fullscreen_window_; | 420 scoped_nsobject<NSWindow> pepper_fullscreen_window_; |
421 scoped_nsobject<FullscreenWindowManager> fullscreen_window_manager_; | 421 scoped_nsobject<FullscreenWindowManager> fullscreen_window_manager_; |
422 | 422 |
423 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 423 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
424 }; | 424 }; |
425 | 425 |
426 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 426 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |