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

Side by Side Diff: Source/core/page/AutoscrollController.cpp

Issue 16282004: Remove unused includes from various .cpp files in core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: re-add HTMLFormElement to EmptyClients for windows 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
« no previous file with comments | « Source/core/loader/cache/CachedTextTrack.cpp ('k') | Source/core/page/Chrome.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) 3 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) 4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies)
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 10 matching lines...) Expand all
21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #include "config.h" 28 #include "config.h"
29 #include "core/page/AutoscrollController.h" 29 #include "core/page/AutoscrollController.h"
30 30
31 #include "core/page/Chrome.h"
32 #include "core/page/ChromeClient.h"
33 #include "core/page/EventHandler.h" 31 #include "core/page/EventHandler.h"
34 #include "core/page/Frame.h" 32 #include "core/page/Frame.h"
35 #include "core/page/FrameView.h" 33 #include "core/page/FrameView.h"
36 #include "core/page/Page.h" 34 #include "core/page/Page.h"
37 #include "core/platform/ScrollView.h"
38 #include "core/rendering/HitTestResult.h" 35 #include "core/rendering/HitTestResult.h"
39 #include "core/rendering/RenderBox.h" 36 #include "core/rendering/RenderBox.h"
40 #include <wtf/CurrentTime.h> 37 #include <wtf/CurrentTime.h>
41 38
42 namespace WebCore { 39 namespace WebCore {
43 40
44 // Delay time in second for start autoscroll if pointer is in border edge of scr ollable element. 41 // Delay time in second for start autoscroll if pointer is in border edge of scr ollable element.
45 static double autoscrollDelay = 0.2; 42 static double autoscrollDelay = 0.2;
46 43
47 // When the autoscroll or the panScroll is triggered when do the scroll every 0. 05s to make it smooth 44 // When the autoscroll or the panScroll is triggered when do the scroll every 0. 05s to make it smooth
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 } else if (east) 316 } else if (east)
320 view->setCursor(eastPanningCursor()); 317 view->setCursor(eastPanningCursor());
321 else if (west) 318 else if (west)
322 view->setCursor(westPanningCursor()); 319 view->setCursor(westPanningCursor());
323 else 320 else
324 view->setCursor(middlePanningCursor()); 321 view->setCursor(middlePanningCursor());
325 } 322 }
326 #endif 323 #endif
327 324
328 } // namespace WebCore 325 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/loader/cache/CachedTextTrack.cpp ('k') | Source/core/page/Chrome.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698