| 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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 bool can_compose_inline) OVERRIDE; | 248 bool can_compose_inline) OVERRIDE; |
| 249 virtual void ImeCancelComposition() OVERRIDE; | 249 virtual void ImeCancelComposition() OVERRIDE; |
| 250 virtual void ImeCompositionRangeChanged( | 250 virtual void ImeCompositionRangeChanged( |
| 251 const ui::Range& range, | 251 const ui::Range& range, |
| 252 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 252 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
| 253 virtual void DidUpdateBackingStore( | 253 virtual void DidUpdateBackingStore( |
| 254 const gfx::Rect& scroll_rect, | 254 const gfx::Rect& scroll_rect, |
| 255 const gfx::Vector2d& scroll_delta, | 255 const gfx::Vector2d& scroll_delta, |
| 256 const std::vector<gfx::Rect>& copy_rects, | 256 const std::vector<gfx::Rect>& copy_rects, |
| 257 const ui::LatencyInfo& latency_info) OVERRIDE; | 257 const ui::LatencyInfo& latency_info) OVERRIDE; |
| 258 virtual void RenderViewGone(base::TerminationStatus status, | 258 virtual void RenderProcessGone(base::TerminationStatus status, |
| 259 int error_code) OVERRIDE; | 259 int error_code) OVERRIDE; |
| 260 virtual void Destroy() OVERRIDE; | 260 virtual void Destroy() OVERRIDE; |
| 261 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 261 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; |
| 262 virtual void SelectionChanged(const string16& text, | 262 virtual void SelectionChanged(const string16& text, |
| 263 size_t offset, | 263 size_t offset, |
| 264 const ui::Range& range) OVERRIDE; | 264 const ui::Range& range) OVERRIDE; |
| 265 virtual void SelectionBoundsChanged( | 265 virtual void SelectionBoundsChanged( |
| 266 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 266 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
| 267 virtual void ScrollOffsetChanged() OVERRIDE; | 267 virtual void ScrollOffsetChanged() OVERRIDE; |
| 268 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 268 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
| 269 virtual void CopyFromCompositingSurface( | 269 virtual void CopyFromCompositingSurface( |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 | 537 |
| 538 // Subscriber that listens to frame presentation events. | 538 // Subscriber that listens to frame presentation events. |
| 539 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 539 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; |
| 540 | 540 |
| 541 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 541 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 542 }; | 542 }; |
| 543 | 543 |
| 544 } // namespace content | 544 } // namespace content |
| 545 | 545 |
| 546 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 546 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |