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

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

Issue 15682010: Support plumbing LatencyInfo through the old software path. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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_WIN_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 virtual void SelectionBoundsChanged( 185 virtual void SelectionBoundsChanged(
186 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; 186 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE;
187 virtual void ScrollOffsetChanged() OVERRIDE; 187 virtual void ScrollOffsetChanged() OVERRIDE;
188 virtual void ImeCancelComposition() OVERRIDE; 188 virtual void ImeCancelComposition() OVERRIDE;
189 virtual void ImeCompositionRangeChanged( 189 virtual void ImeCompositionRangeChanged(
190 const ui::Range& range, 190 const ui::Range& range,
191 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; 191 const std::vector<gfx::Rect>& character_bounds) OVERRIDE;
192 virtual void DidUpdateBackingStore( 192 virtual void DidUpdateBackingStore(
193 const gfx::Rect& scroll_rect, 193 const gfx::Rect& scroll_rect,
194 const gfx::Vector2d& scroll_delta, 194 const gfx::Vector2d& scroll_delta,
195 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; 195 const std::vector<gfx::Rect>& copy_rects,
196 const ui::LatencyInfo& latency_info) OVERRIDE;
196 virtual void RenderViewGone(base::TerminationStatus status, 197 virtual void RenderViewGone(base::TerminationStatus status,
197 int error_code) OVERRIDE; 198 int error_code) OVERRIDE;
198 virtual bool CanSubscribeFrame() const OVERRIDE; 199 virtual bool CanSubscribeFrame() const OVERRIDE;
199 200
200 // called by WebContentsImpl before DestroyWindow 201 // called by WebContentsImpl before DestroyWindow
201 virtual void WillWmDestroy() OVERRIDE; 202 virtual void WillWmDestroy() OVERRIDE;
202 virtual void Destroy() OVERRIDE; 203 virtual void Destroy() OVERRIDE;
203 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; 204 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE;
204 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 205 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
205 virtual void CopyFromCompositingSurface( 206 virtual void CopyFromCompositingSurface(
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 scoped_ptr<SkRegion> transparent_region_; 590 scoped_ptr<SkRegion> transparent_region_;
590 591
591 // Are touch events currently enabled? 592 // Are touch events currently enabled?
592 bool touch_events_enabled_; 593 bool touch_events_enabled_;
593 594
594 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 595 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
595 596
596 // The OS-provided default IAccessible instance for our hwnd. 597 // The OS-provided default IAccessible instance for our hwnd.
597 base::win::ScopedComPtr<IAccessible> window_iaccessible_; 598 base::win::ScopedComPtr<IAccessible> window_iaccessible_;
598 599
600 ui::LatencyInfo software_latency_info_;
601
599 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 602 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
600 }; 603 };
601 604
602 } // namespace content 605 } // namespace content
603 606
604 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 607 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698