| 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 <IOSurface/IOSurface.h> | 9 #include <IOSurface/IOSurface.h> |
| 10 #include <stddef.h> | 10 #include <stddef.h> |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 gfx::NativeViewAccessible GetNativeViewAccessible() override; | 277 gfx::NativeViewAccessible GetNativeViewAccessible() override; |
| 278 bool HasFocus() const override; | 278 bool HasFocus() const override; |
| 279 bool IsSurfaceAvailableForCopy() const override; | 279 bool IsSurfaceAvailableForCopy() const override; |
| 280 void Show() override; | 280 void Show() override; |
| 281 void Hide() override; | 281 void Hide() override; |
| 282 bool IsShowing() override; | 282 bool IsShowing() override; |
| 283 void WasUnOccluded() override; | 283 void WasUnOccluded() override; |
| 284 void WasOccluded() override; | 284 void WasOccluded() override; |
| 285 gfx::Rect GetViewBounds() const override; | 285 gfx::Rect GetViewBounds() const override; |
| 286 void SetShowingContextMenu(bool showing) override; | 286 void SetShowingContextMenu(bool showing) override; |
| 287 gfx::NativeWindow CreateDetachedModeWindow() override; |
| 287 void SetActive(bool active) override; | 288 void SetActive(bool active) override; |
| 288 void SetWindowVisibility(bool visible) override; | 289 void SetWindowVisibility(bool visible) override; |
| 289 void WindowFrameChanged() override; | 290 void WindowFrameChanged() override; |
| 290 void ShowDefinitionForSelection() override; | 291 void ShowDefinitionForSelection() override; |
| 291 bool SupportsSpeech() const override; | 292 bool SupportsSpeech() const override; |
| 292 void SpeakSelection() override; | 293 void SpeakSelection() override; |
| 293 bool IsSpeaking() const override; | 294 bool IsSpeaking() const override; |
| 294 void StopSpeaking() override; | 295 void StopSpeaking() override; |
| 295 void SetBackgroundColor(SkColor color) override; | 296 void SetBackgroundColor(SkColor color) override; |
| 296 | 297 |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 | 621 |
| 621 // Factory used to safely scope delayed calls to ShutdownHost(). | 622 // Factory used to safely scope delayed calls to ShutdownHost(). |
| 622 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 623 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
| 623 | 624 |
| 624 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 625 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 625 }; | 626 }; |
| 626 | 627 |
| 627 } // namespace content | 628 } // namespace content |
| 628 | 629 |
| 629 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 630 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |