| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 224 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
| 225 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; | 225 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; |
| 226 virtual void RenderViewGone(base::TerminationStatus status, | 226 virtual void RenderViewGone(base::TerminationStatus status, |
| 227 int error_code) OVERRIDE; | 227 int error_code) OVERRIDE; |
| 228 virtual void Destroy() OVERRIDE; | 228 virtual void Destroy() OVERRIDE; |
| 229 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 229 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; |
| 230 virtual void SelectionChanged(const string16& text, | 230 virtual void SelectionChanged(const string16& text, |
| 231 size_t offset, | 231 size_t offset, |
| 232 const ui::Range& range) OVERRIDE; | 232 const ui::Range& range) OVERRIDE; |
| 233 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 233 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
| 234 virtual bool CopyFromCompositingSurface( | 234 virtual void CopyFromCompositingSurface( |
| 235 const gfx::Size& size, | |
| 236 skia::PlatformCanvas* output) OVERRIDE; | |
| 237 virtual void AsyncCopyFromCompositingSurface( | |
| 238 const gfx::Size& size, | 235 const gfx::Size& size, |
| 239 skia::PlatformCanvas* output, | 236 skia::PlatformCanvas* output, |
| 240 base::Callback<void(bool)> callback) OVERRIDE; | 237 base::Callback<void(bool)> callback) OVERRIDE; |
| 241 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 238 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
| 242 // See comment in RenderWidgetHostView! | 239 // See comment in RenderWidgetHostView! |
| 243 virtual gfx::Rect GetViewCocoaBounds() const OVERRIDE; | 240 virtual gfx::Rect GetViewCocoaBounds() const OVERRIDE; |
| 244 | 241 |
| 245 virtual void OnAccessibilityNotifications( | 242 virtual void OnAccessibilityNotifications( |
| 246 const std::vector<AccessibilityHostMsg_NotificationParams>& params | 243 const std::vector<AccessibilityHostMsg_NotificationParams>& params |
| 247 ) OVERRIDE; | 244 ) OVERRIDE; |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 std::string selected_text_; | 417 std::string selected_text_; |
| 421 | 418 |
| 422 // The fullscreen window used for pepper flash. | 419 // The fullscreen window used for pepper flash. |
| 423 scoped_nsobject<NSWindow> pepper_fullscreen_window_; | 420 scoped_nsobject<NSWindow> pepper_fullscreen_window_; |
| 424 scoped_nsobject<FullscreenWindowManager> fullscreen_window_manager_; | 421 scoped_nsobject<FullscreenWindowManager> fullscreen_window_manager_; |
| 425 | 422 |
| 426 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 423 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 427 }; | 424 }; |
| 428 | 425 |
| 429 #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 |