| 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 bool SupportsSpeech() const override; | 291 bool SupportsSpeech() const override; |
| 292 void SpeakSelection() override; | 292 void SpeakSelection() override; |
| 293 bool IsSpeaking() const override; | 293 bool IsSpeaking() const override; |
| 294 void StopSpeaking() override; | 294 void StopSpeaking() override; |
| 295 void SetBackgroundColor(SkColor color) override; | 295 void SetBackgroundColor(SkColor color) override; |
| 296 | 296 |
| 297 // Implementation of RenderWidgetHostViewBase. | 297 // Implementation of RenderWidgetHostViewBase. |
| 298 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 298 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 299 const gfx::Rect& pos) override; | 299 const gfx::Rect& pos) override; |
| 300 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 300 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
| 301 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; | |
| 302 void Focus() override; | 301 void Focus() override; |
| 303 void UpdateCursor(const WebCursor& cursor) override; | 302 void UpdateCursor(const WebCursor& cursor) override; |
| 304 void SetIsLoading(bool is_loading) override; | 303 void SetIsLoading(bool is_loading) override; |
| 305 void TextInputStateChanged( | 304 void TextInputStateChanged( |
| 306 const ViewHostMsg_TextInputState_Params& params) override; | 305 const ViewHostMsg_TextInputState_Params& params) override; |
| 307 void ImeCancelComposition() override; | 306 void ImeCancelComposition() override; |
| 308 void ImeCompositionRangeChanged( | 307 void ImeCompositionRangeChanged( |
| 309 const gfx::Range& range, | 308 const gfx::Range& range, |
| 310 const std::vector<gfx::Rect>& character_bounds) override; | 309 const std::vector<gfx::Rect>& character_bounds) override; |
| 311 void RenderProcessGone(base::TerminationStatus status, | 310 void RenderProcessGone(base::TerminationStatus status, |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 | 620 |
| 622 // Factory used to safely scope delayed calls to ShutdownHost(). | 621 // Factory used to safely scope delayed calls to ShutdownHost(). |
| 623 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 622 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
| 624 | 623 |
| 625 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 624 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 626 }; | 625 }; |
| 627 | 626 |
| 628 } // namespace content | 627 } // namespace content |
| 629 | 628 |
| 630 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 629 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |