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