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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 virtual void Blur() OVERRIDE; | 269 virtual void Blur() OVERRIDE; |
270 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 270 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
271 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 271 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
272 virtual void TextInputTypeChanged(ui::TextInputType type, | 272 virtual void TextInputTypeChanged(ui::TextInputType type, |
273 ui::TextInputMode input_mode, | 273 ui::TextInputMode input_mode, |
274 bool can_compose_inline) OVERRIDE; | 274 bool can_compose_inline) OVERRIDE; |
275 virtual void ImeCancelComposition() OVERRIDE; | 275 virtual void ImeCancelComposition() OVERRIDE; |
276 virtual void ImeCompositionRangeChanged( | 276 virtual void ImeCompositionRangeChanged( |
277 const gfx::Range& range, | 277 const gfx::Range& range, |
278 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 278 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
279 virtual void DidUpdateBackingStore( | |
280 const gfx::Rect& scroll_rect, | |
281 const gfx::Vector2d& scroll_delta, | |
282 const std::vector<gfx::Rect>& copy_rects, | |
283 const std::vector<ui::LatencyInfo>& latency_info) OVERRIDE; | |
284 virtual void RenderProcessGone(base::TerminationStatus status, | 279 virtual void RenderProcessGone(base::TerminationStatus status, |
285 int error_code) OVERRIDE; | 280 int error_code) OVERRIDE; |
286 virtual void Destroy() OVERRIDE; | 281 virtual void Destroy() OVERRIDE; |
287 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; | 282 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; |
288 virtual void SelectionChanged(const base::string16& text, | 283 virtual void SelectionChanged(const base::string16& text, |
289 size_t offset, | 284 size_t offset, |
290 const gfx::Range& range) OVERRIDE; | 285 const gfx::Range& range) OVERRIDE; |
291 virtual void SelectionBoundsChanged( | 286 virtual void SelectionBoundsChanged( |
292 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 287 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
293 virtual void ScrollOffsetChanged() OVERRIDE; | 288 virtual void ScrollOffsetChanged() OVERRIDE; |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 641 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; |
647 | 642 |
648 base::WeakPtrFactory<RenderWidgetHostViewMac> | 643 base::WeakPtrFactory<RenderWidgetHostViewMac> |
649 software_frame_weak_ptr_factory_; | 644 software_frame_weak_ptr_factory_; |
650 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 645 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
651 }; | 646 }; |
652 | 647 |
653 } // namespace content | 648 } // namespace content |
654 | 649 |
655 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 650 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |