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

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

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
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_OVERSCROLL_CONTROLLER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_OVERSCROLL_CONTROLLER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_OVERSCROLL_CONTROLLER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_OVERSCROLL_CONTROLLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "third_party/WebKit/public/web/WebInputEvent.h" 10 #include "third_party/WebKit/public/platform/WebGestureEvent.h"
11 #include "third_party/WebKit/public/platform/WebInputEvent.h"
11 12
12 namespace content { 13 namespace content {
13 14
14 class RenderWidgetHostViewAuraOverscrollTest; 15 class RenderWidgetHostViewAuraOverscrollTest;
15 class OverscrollControllerDelegate; 16 class OverscrollControllerDelegate;
16 17
17 // Indicates the direction that the scroll is heading in relative to the screen, 18 // Indicates the direction that the scroll is heading in relative to the screen,
18 // with the top being NORTH. 19 // with the top being NORTH.
19 enum OverscrollMode { 20 enum OverscrollMode {
20 OVERSCROLL_NONE, 21 OVERSCROLL_NONE,
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // The delegate that receives the overscroll updates. The delegate is not 119 // The delegate that receives the overscroll updates. The delegate is not
119 // owned by this controller. 120 // owned by this controller.
120 OverscrollControllerDelegate* delegate_; 121 OverscrollControllerDelegate* delegate_;
121 122
122 DISALLOW_COPY_AND_ASSIGN(OverscrollController); 123 DISALLOW_COPY_AND_ASSIGN(OverscrollController);
123 }; 124 };
124 125
125 } // namespace content 126 } // namespace content
126 127
127 #endif // CONTENT_BROWSER_RENDERER_HOST_OVERSCROLL_CONTROLLER_H_ 128 #endif // CONTENT_BROWSER_RENDERER_HOST_OVERSCROLL_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698