| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 virtual void WasShown() OVERRIDE; | 241 virtual void WasShown() OVERRIDE; |
| 242 virtual void WasHidden() OVERRIDE; | 242 virtual void WasHidden() OVERRIDE; |
| 243 virtual void MovePluginWindows( | 243 virtual void MovePluginWindows( |
| 244 const gfx::Vector2d& scroll_offset, | 244 const gfx::Vector2d& scroll_offset, |
| 245 const std::vector<WebPluginGeometry>& moves) OVERRIDE; | 245 const std::vector<WebPluginGeometry>& moves) OVERRIDE; |
| 246 virtual void Focus() OVERRIDE; | 246 virtual void Focus() OVERRIDE; |
| 247 virtual void Blur() OVERRIDE; | 247 virtual void Blur() OVERRIDE; |
| 248 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 248 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
| 249 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 249 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
| 250 virtual void TextInputTypeChanged(ui::TextInputType type, | 250 virtual void TextInputTypeChanged(ui::TextInputType type, |
| 251 bool can_compose_inline, | 251 ui::TextInputMode input_mode, |
| 252 ui::TextInputMode input_mode) OVERRIDE; | 252 bool can_compose_inline) OVERRIDE; |
| 253 virtual void ImeCancelComposition() OVERRIDE; | 253 virtual void ImeCancelComposition() OVERRIDE; |
| 254 virtual void ImeCompositionRangeChanged( | 254 virtual void ImeCompositionRangeChanged( |
| 255 const ui::Range& range, | 255 const ui::Range& range, |
| 256 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 256 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
| 257 virtual void DidUpdateBackingStore( | 257 virtual void DidUpdateBackingStore( |
| 258 const gfx::Rect& scroll_rect, | 258 const gfx::Rect& scroll_rect, |
| 259 const gfx::Vector2d& scroll_delta, | 259 const gfx::Vector2d& scroll_delta, |
| 260 const std::vector<gfx::Rect>& copy_rects, | 260 const std::vector<gfx::Rect>& copy_rects, |
| 261 const ui::LatencyInfo& latency_info) OVERRIDE; | 261 const ui::LatencyInfo& latency_info) OVERRIDE; |
| 262 virtual void RenderProcessGone(base::TerminationStatus status, | 262 virtual void RenderProcessGone(base::TerminationStatus status, |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 | 556 |
| 557 // Subscriber that listens to frame presentation events. | 557 // Subscriber that listens to frame presentation events. |
| 558 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 558 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; |
| 559 | 559 |
| 560 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 560 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 561 }; | 561 }; |
| 562 | 562 |
| 563 } // namespace content | 563 } // namespace content |
| 564 | 564 |
| 565 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 565 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |