| 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/IOSurfaceAPI.h> | 9 #include <IOSurface/IOSurfaceAPI.h> |
| 10 #include <list> | 10 #include <list> |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 virtual void SetShowingContextMenu(bool showing) override; | 243 virtual void SetShowingContextMenu(bool showing) override; |
| 244 virtual void SetActive(bool active) override; | 244 virtual void SetActive(bool active) override; |
| 245 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) override; | 245 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) override; |
| 246 virtual void SetWindowVisibility(bool visible) override; | 246 virtual void SetWindowVisibility(bool visible) override; |
| 247 virtual void WindowFrameChanged() override; | 247 virtual void WindowFrameChanged() override; |
| 248 virtual void ShowDefinitionForSelection() override; | 248 virtual void ShowDefinitionForSelection() override; |
| 249 virtual bool SupportsSpeech() const override; | 249 virtual bool SupportsSpeech() const override; |
| 250 virtual void SpeakSelection() override; | 250 virtual void SpeakSelection() override; |
| 251 virtual bool IsSpeaking() const override; | 251 virtual bool IsSpeaking() const override; |
| 252 virtual void StopSpeaking() override; | 252 virtual void StopSpeaking() override; |
| 253 virtual void SetBackgroundOpaque(bool opaque) override; | 253 virtual void SetBackgroundColor(SkColor color) override; |
| 254 | 254 |
| 255 // Implementation of RenderWidgetHostViewBase. | 255 // Implementation of RenderWidgetHostViewBase. |
| 256 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 256 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 257 const gfx::Rect& pos) override; | 257 const gfx::Rect& pos) override; |
| 258 virtual void InitAsFullscreen( | 258 virtual void InitAsFullscreen( |
| 259 RenderWidgetHostView* reference_host_view) override; | 259 RenderWidgetHostView* reference_host_view) override; |
| 260 virtual void WasShown() override; | 260 virtual void WasShown() override; |
| 261 virtual void WasHidden() override; | 261 virtual void WasHidden() override; |
| 262 virtual void MovePluginWindows( | 262 virtual void MovePluginWindows( |
| 263 const std::vector<WebPluginGeometry>& moves) override; | 263 const std::vector<WebPluginGeometry>& moves) override; |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 | 507 |
| 508 // The current caret bounds. | 508 // The current caret bounds. |
| 509 gfx::Rect caret_rect_; | 509 gfx::Rect caret_rect_; |
| 510 | 510 |
| 511 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 511 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 512 }; | 512 }; |
| 513 | 513 |
| 514 } // namespace content | 514 } // namespace content |
| 515 | 515 |
| 516 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 516 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |