| 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 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 virtual void Destroy() OVERRIDE; | 258 virtual void Destroy() OVERRIDE; |
| 259 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 259 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; |
| 260 virtual void SelectionChanged(const string16& text, | 260 virtual void SelectionChanged(const string16& text, |
| 261 size_t offset, | 261 size_t offset, |
| 262 const ui::Range& range) OVERRIDE; | 262 const ui::Range& range) OVERRIDE; |
| 263 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 263 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
| 264 virtual void CopyFromCompositingSurface( | 264 virtual void CopyFromCompositingSurface( |
| 265 const gfx::Rect& src_subrect, | 265 const gfx::Rect& src_subrect, |
| 266 const gfx::Size& dst_size, | 266 const gfx::Size& dst_size, |
| 267 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; | 267 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; |
| 268 virtual void CopyFromCompositingSurfaceToVideoFrame( |
| 269 const gfx::Rect& src_subrect, |
| 270 const scoped_refptr<media::VideoFrame>& target, |
| 271 const base::Callback<void(bool)>& callback) OVERRIDE; |
| 272 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
| 268 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 273 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
| 269 | 274 |
| 270 virtual void OnAccessibilityNotifications( | 275 virtual void OnAccessibilityNotifications( |
| 271 const std::vector<AccessibilityHostMsg_NotificationParams>& params | 276 const std::vector<AccessibilityHostMsg_NotificationParams>& params |
| 272 ) OVERRIDE; | 277 ) OVERRIDE; |
| 273 | 278 |
| 274 virtual void PluginFocusChanged(bool focused, int plugin_id) OVERRIDE; | 279 virtual void PluginFocusChanged(bool focused, int plugin_id) OVERRIDE; |
| 275 virtual void StartPluginIme() OVERRIDE; | 280 virtual void StartPluginIme() OVERRIDE; |
| 276 virtual bool PostProcessEventForPluginIme( | 281 virtual bool PostProcessEventForPluginIme( |
| 277 const NativeWebKeyboardEvent& event) OVERRIDE; | 282 const NativeWebKeyboardEvent& event) OVERRIDE; |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 | 497 |
| 493 // The current caret bounds. | 498 // The current caret bounds. |
| 494 gfx::Rect caret_rect_; | 499 gfx::Rect caret_rect_; |
| 495 | 500 |
| 496 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 501 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 497 }; | 502 }; |
| 498 | 503 |
| 499 } // namespace content | 504 } // namespace content |
| 500 | 505 |
| 501 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 506 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |