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

Side by Side Diff: Source/core/page/SpatialNavigation.h

Issue 584303002: Clean up forward declarations in Source/core/page (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) 2 * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies)
3 * Copyright (C) 2009 Antonio Gomes <tonikitoo@webkit.org> 3 * Copyright (C) 2009 Antonio Gomes <tonikitoo@webkit.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 11 matching lines...) Expand all
22 #define SpatialNavigation_h 22 #define SpatialNavigation_h
23 23
24 #include "core/dom/Node.h" 24 #include "core/dom/Node.h"
25 #include "core/page/FocusType.h" 25 #include "core/page/FocusType.h"
26 #include "platform/geometry/LayoutRect.h" 26 #include "platform/geometry/LayoutRect.h"
27 27
28 #include <limits> 28 #include <limits>
29 29
30 namespace blink { 30 namespace blink {
31 31
32 class Element;
33 class LocalFrame; 32 class LocalFrame;
34 class HTMLAreaElement; 33 class HTMLAreaElement;
35 class HTMLFrameOwnerElement; 34 class HTMLFrameOwnerElement;
36 class IntRect;
37 class RenderObject;
38 35
39 inline long long maxDistance() 36 inline long long maxDistance()
40 { 37 {
41 return std::numeric_limits<long long>::max(); 38 return std::numeric_limits<long long>::max();
42 } 39 }
43 40
44 inline int fudgeFactor() 41 inline int fudgeFactor()
45 { 42 {
46 return 2; 43 return 2;
47 } 44 }
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 Node* scrollableEnclosingBoxOrParentFrameForNodeInDirection(FocusType, Node*); 139 Node* scrollableEnclosingBoxOrParentFrameForNodeInDirection(FocusType, Node*);
143 LayoutRect nodeRectInAbsoluteCoordinates(Node*, bool ignoreBorder = false); 140 LayoutRect nodeRectInAbsoluteCoordinates(Node*, bool ignoreBorder = false);
144 LayoutRect frameRectInAbsoluteCoordinates(LocalFrame*); 141 LayoutRect frameRectInAbsoluteCoordinates(LocalFrame*);
145 LayoutRect virtualRectForDirection(FocusType, const LayoutRect& startingRect, La youtUnit width = 0); 142 LayoutRect virtualRectForDirection(FocusType, const LayoutRect& startingRect, La youtUnit width = 0);
146 LayoutRect virtualRectForAreaElementAndDirection(HTMLAreaElement&, FocusType); 143 LayoutRect virtualRectForAreaElementAndDirection(HTMLAreaElement&, FocusType);
147 HTMLFrameOwnerElement* frameOwnerElement(FocusCandidate&); 144 HTMLFrameOwnerElement* frameOwnerElement(FocusCandidate&);
148 145
149 } // namespace blink 146 } // namespace blink
150 147
151 #endif // SpatialNavigation_h 148 #endif // SpatialNavigation_h
OLDNEW
« no previous file with comments | « Source/core/page/PointerLockController.h ('k') | Source/core/page/scrolling/ScrollingCoordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698