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

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

Issue 190953009: Use new is*Element() helper functions in page/ code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/page/PageSerializer.cpp ('k') | Source/core/page/SpatialNavigation.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) 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 bool scrollInDirection(Node* container, FocusType); 138 bool scrollInDirection(Node* container, FocusType);
139 bool canScrollInDirection(const Node* container, FocusType); 139 bool canScrollInDirection(const Node* container, FocusType);
140 bool canScrollInDirection(const LocalFrame*, FocusType); 140 bool canScrollInDirection(const LocalFrame*, FocusType);
141 bool canBeScrolledIntoView(FocusType, const FocusCandidate&); 141 bool canBeScrolledIntoView(FocusType, const FocusCandidate&);
142 bool areElementsOnSameLine(const FocusCandidate& firstCandidate, const FocusCand idate& secondCandidate); 142 bool areElementsOnSameLine(const FocusCandidate& firstCandidate, const FocusCand idate& secondCandidate);
143 void distanceDataForNode(FocusType, const FocusCandidate& current, FocusCandidat e&); 143 void distanceDataForNode(FocusType, const FocusCandidate& current, FocusCandidat e&);
144 Node* scrollableEnclosingBoxOrParentFrameForNodeInDirection(FocusType, Node*); 144 Node* scrollableEnclosingBoxOrParentFrameForNodeInDirection(FocusType, Node*);
145 LayoutRect nodeRectInAbsoluteCoordinates(Node*, bool ignoreBorder = false); 145 LayoutRect nodeRectInAbsoluteCoordinates(Node*, bool ignoreBorder = false);
146 LayoutRect frameRectInAbsoluteCoordinates(LocalFrame*); 146 LayoutRect frameRectInAbsoluteCoordinates(LocalFrame*);
147 LayoutRect virtualRectForDirection(FocusType, const LayoutRect& startingRect, La youtUnit width = 0); 147 LayoutRect virtualRectForDirection(FocusType, const LayoutRect& startingRect, La youtUnit width = 0);
148 LayoutRect virtualRectForAreaElementAndDirection(HTMLAreaElement*, FocusType); 148 LayoutRect virtualRectForAreaElementAndDirection(HTMLAreaElement&, FocusType);
149 HTMLFrameOwnerElement* frameOwnerElement(FocusCandidate&); 149 HTMLFrameOwnerElement* frameOwnerElement(FocusCandidate&);
150 150
151 } // namspace WebCore 151 } // namspace WebCore
152 152
153 #endif // SpatialNavigation_h 153 #endif // SpatialNavigation_h
OLDNEW
« no previous file with comments | « Source/core/page/PageSerializer.cpp ('k') | Source/core/page/SpatialNavigation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698