Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1188)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 253913003: Remove RenderWidgetHostView*::DidUpdateBackingStore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 virtual void Blur() OVERRIDE; 172 virtual void Blur() OVERRIDE;
173 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; 173 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE;
174 virtual void SetIsLoading(bool is_loading) OVERRIDE; 174 virtual void SetIsLoading(bool is_loading) OVERRIDE;
175 virtual void TextInputTypeChanged(ui::TextInputType type, 175 virtual void TextInputTypeChanged(ui::TextInputType type,
176 ui::TextInputMode input_mode, 176 ui::TextInputMode input_mode,
177 bool can_compose_inline) OVERRIDE; 177 bool can_compose_inline) OVERRIDE;
178 virtual void ImeCancelComposition() OVERRIDE; 178 virtual void ImeCancelComposition() OVERRIDE;
179 virtual void ImeCompositionRangeChanged( 179 virtual void ImeCompositionRangeChanged(
180 const gfx::Range& range, 180 const gfx::Range& range,
181 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; 181 const std::vector<gfx::Rect>& character_bounds) OVERRIDE;
182 virtual void DidUpdateBackingStore(
183 const gfx::Rect& scroll_rect,
184 const gfx::Vector2d& scroll_delta,
185 const std::vector<gfx::Rect>& copy_rects,
186 const std::vector<ui::LatencyInfo>& latency_info) OVERRIDE;
187 virtual void RenderProcessGone(base::TerminationStatus status, 182 virtual void RenderProcessGone(base::TerminationStatus status,
188 int error_code) OVERRIDE; 183 int error_code) OVERRIDE;
189 virtual void Destroy() OVERRIDE; 184 virtual void Destroy() OVERRIDE;
190 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; 185 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE;
191 virtual void SelectionChanged(const base::string16& text, 186 virtual void SelectionChanged(const base::string16& text,
192 size_t offset, 187 size_t offset,
193 const gfx::Range& range) OVERRIDE; 188 const gfx::Range& range) OVERRIDE;
194 virtual void SelectionBoundsChanged( 189 virtual void SelectionBoundsChanged(
195 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; 190 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE;
196 virtual void ScrollOffsetChanged() OVERRIDE; 191 virtual void ScrollOffsetChanged() OVERRIDE;
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; 712 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_;
718 std::vector<scoped_refptr<OwnedMailbox> > idle_frame_subscriber_textures_; 713 std::vector<scoped_refptr<OwnedMailbox> > idle_frame_subscriber_textures_;
719 std::set<OwnedMailbox*> active_frame_subscriber_textures_; 714 std::set<OwnedMailbox*> active_frame_subscriber_textures_;
720 715
721 // YUV readback pipeline. 716 // YUV readback pipeline.
722 scoped_ptr<content::ReadbackYUVInterface> 717 scoped_ptr<content::ReadbackYUVInterface>
723 yuv_readback_pipeline_; 718 yuv_readback_pipeline_;
724 719
725 TouchEditingClient* touch_editing_client_; 720 TouchEditingClient* touch_editing_client_;
726 721
727 std::vector<ui::LatencyInfo> software_latency_info_;
728
729 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_; 722 scoped_ptr<DelegatedFrameEvictor> delegated_frame_evictor_;
730 723
731 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; 724 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_;
732 725
733 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 726 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
734 727
735 #if defined(OS_WIN) 728 #if defined(OS_WIN)
736 // The LegacyRenderWidgetHostHWND class provides a dummy HWND which is used 729 // The LegacyRenderWidgetHostHWND class provides a dummy HWND which is used
737 // for accessibility, as the container for windowless plugins like 730 // for accessibility, as the container for windowless plugins like
738 // Flash/Silverlight, etc and for legacy drivers for trackpoints/trackpads, 731 // Flash/Silverlight, etc and for legacy drivers for trackpoints/trackpads,
739 // etc. 732 // etc.
740 scoped_ptr<content::LegacyRenderWidgetHostHWND> 733 scoped_ptr<content::LegacyRenderWidgetHostHWND>
741 legacy_render_widget_host_HWND_; 734 legacy_render_widget_host_HWND_;
742 #endif 735 #endif
743 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 736 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
744 }; 737 };
745 738
746 } // namespace content 739 } // namespace content
747 740
748 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 741 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698