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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 SetBackground(const SkBitmap& background) OVERRIDE; | 208 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
209 | 209 |
210 // Implementation of RenderWidgetHostViewPort. | 210 // Implementation of RenderWidgetHostViewPort. |
211 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 211 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
212 const gfx::Rect& pos) OVERRIDE; | 212 const gfx::Rect& pos) OVERRIDE; |
213 virtual void InitAsFullscreen( | 213 virtual void InitAsFullscreen( |
214 RenderWidgetHostView* reference_host_view) OVERRIDE; | 214 RenderWidgetHostView* reference_host_view) OVERRIDE; |
215 virtual void WasRestored() OVERRIDE; | 215 virtual void WasShown() OVERRIDE; |
216 virtual void WasHidden() OVERRIDE; | 216 virtual void WasHidden() OVERRIDE; |
217 virtual void MovePluginWindows( | 217 virtual void MovePluginWindows( |
218 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 218 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
219 virtual void Focus() OVERRIDE; | 219 virtual void Focus() OVERRIDE; |
220 virtual void Blur() OVERRIDE; | 220 virtual void Blur() OVERRIDE; |
221 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 221 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
222 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 222 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
223 virtual void TextInputStateChanged(ui::TextInputType state, | 223 virtual void TextInputStateChanged(ui::TextInputType state, |
224 bool can_compose_inline) OVERRIDE; | 224 bool can_compose_inline) OVERRIDE; |
225 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, | 225 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 | 460 |
461 // The current caret bounds. | 461 // The current caret bounds. |
462 gfx::Rect caret_rect_; | 462 gfx::Rect caret_rect_; |
463 | 463 |
464 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 464 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
465 }; | 465 }; |
466 | 466 |
467 } // namespace content | 467 } // namespace content |
468 | 468 |
469 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 469 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |