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

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

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration 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/web/WebInputEvent.h"
11 11
12 namespace ui {
13 class LatencyInfo;
14 }
15
16 namespace content { 12 namespace content {
17 13
18 class RenderWidgetHostViewAuraOverscrollTest; 14 class RenderWidgetHostViewAuraOverscrollTest;
19 class OverscrollControllerDelegate; 15 class OverscrollControllerDelegate;
20 16
21 // Indicates the direction that the scroll is heading in relative to the screen, 17 // Indicates the direction that the scroll is heading in relative to the screen,
22 // with the top being NORTH. 18 // with the top being NORTH.
23 enum OverscrollMode { 19 enum OverscrollMode {
24 OVERSCROLL_NONE, 20 OVERSCROLL_NONE,
25 OVERSCROLL_NORTH, 21 OVERSCROLL_NORTH,
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // The delegate that receives the overscroll updates. The delegate is not 118 // The delegate that receives the overscroll updates. The delegate is not
123 // owned by this controller. 119 // owned by this controller.
124 OverscrollControllerDelegate* delegate_; 120 OverscrollControllerDelegate* delegate_;
125 121
126 DISALLOW_COPY_AND_ASSIGN(OverscrollController); 122 DISALLOW_COPY_AND_ASSIGN(OverscrollController);
127 }; 123 };
128 124
129 } // namespace content 125 } // namespace content
130 126
131 #endif // CONTENT_BROWSER_RENDERER_HOST_OVERSCROLL_CONTROLLER_H_ 127 #endif // CONTENT_BROWSER_RENDERER_HOST_OVERSCROLL_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698