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 <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; | 202 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; |
203 virtual void Show() OVERRIDE; | 203 virtual void Show() OVERRIDE; |
204 virtual void Hide() OVERRIDE; | 204 virtual void Hide() OVERRIDE; |
205 virtual bool IsShowing() OVERRIDE; | 205 virtual bool IsShowing() OVERRIDE; |
206 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 206 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
207 virtual void SetShowingContextMenu(bool showing) OVERRIDE; | 207 virtual void SetShowingContextMenu(bool showing) OVERRIDE; |
208 virtual void SetActive(bool active) OVERRIDE; | 208 virtual void SetActive(bool active) OVERRIDE; |
209 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; | 209 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; |
210 virtual void SetWindowVisibility(bool visible) OVERRIDE; | 210 virtual void SetWindowVisibility(bool visible) OVERRIDE; |
211 virtual void WindowFrameChanged() OVERRIDE; | 211 virtual void WindowFrameChanged() OVERRIDE; |
| 212 virtual void ShowDefinitionForSelection() OVERRIDE; |
212 virtual bool SupportsSpeech() const OVERRIDE; | 213 virtual bool SupportsSpeech() const OVERRIDE; |
213 virtual void SpeakSelection() OVERRIDE; | 214 virtual void SpeakSelection() OVERRIDE; |
214 virtual bool IsSpeaking() const OVERRIDE; | 215 virtual bool IsSpeaking() const OVERRIDE; |
215 virtual void StopSpeaking() OVERRIDE; | 216 virtual void StopSpeaking() OVERRIDE; |
216 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 217 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
217 | 218 |
218 // Implementation of RenderWidgetHostViewPort. | 219 // Implementation of RenderWidgetHostViewPort. |
219 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 220 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
220 const gfx::Rect& pos) OVERRIDE; | 221 const gfx::Rect& pos) OVERRIDE; |
221 virtual void InitAsFullscreen( | 222 virtual void InitAsFullscreen( |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 | 469 |
469 // The current caret bounds. | 470 // The current caret bounds. |
470 gfx::Rect caret_rect_; | 471 gfx::Rect caret_rect_; |
471 | 472 |
472 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 473 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
473 }; | 474 }; |
474 | 475 |
475 } // namespace content | 476 } // namespace content |
476 | 477 |
477 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 478 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |