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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 220 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
221 | 221 |
222 // Implementation of RenderWidgetHostViewPort. | 222 // Implementation of RenderWidgetHostViewPort. |
223 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 223 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
224 const gfx::Rect& pos) OVERRIDE; | 224 const gfx::Rect& pos) OVERRIDE; |
225 virtual void InitAsFullscreen( | 225 virtual void InitAsFullscreen( |
226 RenderWidgetHostView* reference_host_view) OVERRIDE; | 226 RenderWidgetHostView* reference_host_view) OVERRIDE; |
227 virtual void WasShown() OVERRIDE; | 227 virtual void WasShown() OVERRIDE; |
228 virtual void WasHidden() OVERRIDE; | 228 virtual void WasHidden() OVERRIDE; |
229 virtual void MovePluginWindows( | 229 virtual void MovePluginWindows( |
| 230 const gfx::Point& scroll_offset, |
230 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 231 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
231 virtual void Focus() OVERRIDE; | 232 virtual void Focus() OVERRIDE; |
232 virtual void Blur() OVERRIDE; | 233 virtual void Blur() OVERRIDE; |
233 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 234 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
234 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 235 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
235 virtual void TextInputStateChanged( | 236 virtual void TextInputStateChanged( |
236 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; | 237 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; |
237 virtual void SelectionBoundsChanged( | 238 virtual void SelectionBoundsChanged( |
238 const gfx::Rect& start_rect, | 239 const gfx::Rect& start_rect, |
239 WebKit::WebTextDirection start_direction, | 240 WebKit::WebTextDirection start_direction, |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 | 476 |
476 // The current caret bounds. | 477 // The current caret bounds. |
477 gfx::Rect caret_rect_; | 478 gfx::Rect caret_rect_; |
478 | 479 |
479 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 480 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
480 }; | 481 }; |
481 | 482 |
482 } // namespace content | 483 } // namespace content |
483 | 484 |
484 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 485 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |