 Chromium Code Reviews
 Chromium Code Reviews Issue 1283913002:
  Improve scroll performance on Windows 10 with high precision touchpads.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1283913002:
  Improve scroll performance on Windows 10 with high precision touchpads.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| Index: content/browser/renderer_host/legacy_render_widget_host_win.h | 
| diff --git a/content/browser/renderer_host/legacy_render_widget_host_win.h b/content/browser/renderer_host/legacy_render_widget_host_win.h | 
| index 70f685939fd9139889060ff442afe8044f340ada..5203371b3327633073a72bebbf9787e8dc602632 100644 | 
| --- a/content/browser/renderer_host/legacy_render_widget_host_win.h | 
| +++ b/content/browser/renderer_host/legacy_render_widget_host_win.h | 
| @@ -11,9 +11,11 @@ | 
| #include <oleacc.h> | 
| #include "base/basictypes.h" | 
| +#include "base/memory/scoped_ptr.h" | 
| #include "base/win/scoped_comptr.h" | 
| #include "content/common/content_export.h" | 
| #include "ui/gfx/geometry/rect.h" | 
| +#include "ui/gfx/win/direct_manipulation.h" | 
| 
sky
2015/08/11 23:45:02
forward declare and include in .cc.
 
ananta
2015/08/12 00:41:58
Done.
 
ananta
2015/08/12 00:41:58
Done.
 | 
| namespace ui { | 
| class WindowEventTarget; | 
| @@ -143,6 +145,11 @@ class CONTENT_EXPORT LegacyRenderWidgetHostHWND | 
| RenderWidgetHostViewAura* host_; | 
| + // This class provides functionality to register the legacy window as a | 
| + // Direct Manipulation consumer. This allows us to support smooth scroll | 
| + // in Chrome on Windows 10. | 
| + scoped_ptr<gfx::win::DirectManipulationHelper> direct_manipulation_helper_; | 
| + | 
| DISALLOW_COPY_AND_ASSIGN(LegacyRenderWidgetHostHWND); | 
| }; |