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_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 virtual void Blur() OVERRIDE; | 175 virtual void Blur() OVERRIDE; |
176 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 176 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
177 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 177 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
178 virtual void TextInputTypeChanged(ui::TextInputType type, | 178 virtual void TextInputTypeChanged(ui::TextInputType type, |
179 ui::TextInputMode input_mode, | 179 ui::TextInputMode input_mode, |
180 bool can_compose_inline) OVERRIDE; | 180 bool can_compose_inline) OVERRIDE; |
181 virtual void ImeCancelComposition() OVERRIDE; | 181 virtual void ImeCancelComposition() OVERRIDE; |
182 virtual void ImeCompositionRangeChanged( | 182 virtual void ImeCompositionRangeChanged( |
183 const gfx::Range& range, | 183 const gfx::Range& range, |
184 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 184 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
185 virtual void DidUpdateBackingStore( | |
186 const gfx::Rect& scroll_rect, | |
187 const gfx::Vector2d& scroll_delta, | |
188 const std::vector<gfx::Rect>& copy_rects, | |
189 const std::vector<ui::LatencyInfo>& latency_info) OVERRIDE; | |
190 virtual void RenderProcessGone(base::TerminationStatus status, | 185 virtual void RenderProcessGone(base::TerminationStatus status, |
191 int error_code) OVERRIDE; | 186 int error_code) OVERRIDE; |
192 virtual void Destroy() OVERRIDE; | 187 virtual void Destroy() OVERRIDE; |
193 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; | 188 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; |
194 virtual void SelectionChanged(const base::string16& text, | 189 virtual void SelectionChanged(const base::string16& text, |
195 size_t offset, | 190 size_t offset, |
196 const gfx::Range& range) OVERRIDE; | 191 const gfx::Range& range) OVERRIDE; |
197 virtual void SelectionBoundsChanged( | 192 virtual void SelectionBoundsChanged( |
198 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 193 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
199 virtual void ScrollOffsetChanged() OVERRIDE; | 194 virtual void ScrollOffsetChanged() OVERRIDE; |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 std::set<OwnedMailbox*> active_frame_subscriber_textures_; | 720 std::set<OwnedMailbox*> active_frame_subscriber_textures_; |
726 | 721 |
727 // YUV readback pipeline. | 722 // YUV readback pipeline. |
728 scoped_ptr<content::ReadbackYUVInterface> | 723 scoped_ptr<content::ReadbackYUVInterface> |
729 yuv_readback_pipeline_; | 724 yuv_readback_pipeline_; |
730 | 725 |
731 TouchEditingClient* touch_editing_client_; | 726 TouchEditingClient* touch_editing_client_; |
732 | 727 |
733 gfx::Insets insets_; | 728 gfx::Insets insets_; |
734 | 729 |
735 std::vector<ui::LatencyInfo> software_latency_info_; | |
736 | |
737 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; | 730 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; |
738 | 731 |
739 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; | 732 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; |
740 | 733 |
741 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 734 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
742 | 735 |
743 #if defined(OS_WIN) | 736 #if defined(OS_WIN) |
744 // The LegacyRenderWidgetHostHWND class provides a dummy HWND which is used | 737 // The LegacyRenderWidgetHostHWND class provides a dummy HWND which is used |
745 // for accessibility, as the container for windowless plugins like | 738 // for accessibility, as the container for windowless plugins like |
746 // Flash/Silverlight, etc and for legacy drivers for trackpoints/trackpads, | 739 // Flash/Silverlight, etc and for legacy drivers for trackpoints/trackpads, |
747 // etc. | 740 // etc. |
748 scoped_ptr<content::LegacyRenderWidgetHostHWND> | 741 scoped_ptr<content::LegacyRenderWidgetHostHWND> |
749 legacy_render_widget_host_HWND_; | 742 legacy_render_widget_host_HWND_; |
750 #endif | 743 #endif |
751 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 744 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
752 }; | 745 }; |
753 | 746 |
754 } // namespace content | 747 } // namespace content |
755 | 748 |
756 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 749 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |