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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 230 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
231 virtual void Focus() OVERRIDE; | 231 virtual void Focus() OVERRIDE; |
232 virtual void Blur() OVERRIDE; | 232 virtual void Blur() OVERRIDE; |
233 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 233 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
234 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 234 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
235 virtual void TextInputStateChanged(ui::TextInputType state, | 235 virtual void TextInputStateChanged(ui::TextInputType state, |
236 bool can_compose_inline) OVERRIDE; | 236 bool can_compose_inline) OVERRIDE; |
237 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, | 237 virtual void SelectionBoundsChanged( |
238 const gfx::Rect& end_rect) OVERRIDE; | 238 const gfx::Rect& start_rect, |
| 239 WebKit::WebTextDirection start_direction, |
| 240 const gfx::Rect& end_rect, |
| 241 WebKit::WebTextDirection end_direction) OVERRIDE; |
239 virtual void ImeCancelComposition() OVERRIDE; | 242 virtual void ImeCancelComposition() OVERRIDE; |
240 virtual void ImeCompositionRangeChanged( | 243 virtual void ImeCompositionRangeChanged( |
241 const ui::Range& range, | 244 const ui::Range& range, |
242 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 245 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
243 virtual void DidUpdateBackingStore( | 246 virtual void DidUpdateBackingStore( |
244 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 247 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
245 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; | 248 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; |
246 virtual void RenderViewGone(base::TerminationStatus status, | 249 virtual void RenderViewGone(base::TerminationStatus status, |
247 int error_code) OVERRIDE; | 250 int error_code) OVERRIDE; |
248 virtual void Destroy() OVERRIDE; | 251 virtual void Destroy() OVERRIDE; |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 | 475 |
473 // The current caret bounds. | 476 // The current caret bounds. |
474 gfx::Rect caret_rect_; | 477 gfx::Rect caret_rect_; |
475 | 478 |
476 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 479 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
477 }; | 480 }; |
478 | 481 |
479 } // namespace content | 482 } // namespace content |
480 | 483 |
481 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 484 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |