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 | 10 |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; | 198 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; |
199 virtual void Show() OVERRIDE; | 199 virtual void Show() OVERRIDE; |
200 virtual void Hide() OVERRIDE; | 200 virtual void Hide() OVERRIDE; |
201 virtual bool IsShowing() OVERRIDE; | 201 virtual bool IsShowing() OVERRIDE; |
202 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 202 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
203 virtual void SetShowingContextMenu(bool showing) OVERRIDE; | 203 virtual void SetShowingContextMenu(bool showing) OVERRIDE; |
204 virtual void SetActive(bool active) OVERRIDE; | 204 virtual void SetActive(bool active) OVERRIDE; |
205 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; | 205 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; |
206 virtual void SetWindowVisibility(bool visible) OVERRIDE; | 206 virtual void SetWindowVisibility(bool visible) OVERRIDE; |
207 virtual void WindowFrameChanged() OVERRIDE; | 207 virtual void WindowFrameChanged() OVERRIDE; |
| 208 virtual void ShowDefinitionForSelection() OVERRIDE; |
208 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 209 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
209 | 210 |
210 // Implementation of RenderWidgetHostViewPort. | 211 // Implementation of RenderWidgetHostViewPort. |
211 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 212 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
212 const gfx::Rect& pos) OVERRIDE; | 213 const gfx::Rect& pos) OVERRIDE; |
213 virtual void InitAsFullscreen( | 214 virtual void InitAsFullscreen( |
214 RenderWidgetHostView* reference_host_view) OVERRIDE; | 215 RenderWidgetHostView* reference_host_view) OVERRIDE; |
215 virtual void WasShown() OVERRIDE; | 216 virtual void WasShown() OVERRIDE; |
216 virtual void WasHidden() OVERRIDE; | 217 virtual void WasHidden() OVERRIDE; |
217 virtual void MovePluginWindows( | 218 virtual void MovePluginWindows( |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 | 461 |
461 // The current caret bounds. | 462 // The current caret bounds. |
462 gfx::Rect caret_rect_; | 463 gfx::Rect caret_rect_; |
463 | 464 |
464 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 465 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
465 }; | 466 }; |
466 | 467 |
467 } // namespace content | 468 } // namespace content |
468 | 469 |
469 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 470 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |