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

Unified Diff: Source/core/page/FocusController.h

Issue 704963002: Make some arguments of FocusController functions references. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Element.h ('k') | Source/core/page/FocusController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/FocusController.h
diff --git a/Source/core/page/FocusController.h b/Source/core/page/FocusController.h
index 95b04f5d701faeb32e43d333db4f3db3b5e0399f..ac06469fc6eb8bb667f7d6bfc150ba01faf33ab7 100644
--- a/Source/core/page/FocusController.h
+++ b/Source/core/page/FocusController.h
@@ -49,11 +49,11 @@ class FocusNavigationScope {
public:
Node* rootNode() const;
Element* owner() const;
- static FocusNavigationScope focusNavigationScopeOf(Node*);
- static FocusNavigationScope ownedByNonFocusableFocusScopeOwner(Node*);
- static FocusNavigationScope ownedByShadowHost(Node*);
- static FocusNavigationScope ownedByShadowInsertionPoint(HTMLShadowElement*);
- static FocusNavigationScope ownedByIFrame(HTMLFrameOwnerElement*);
+ static FocusNavigationScope focusNavigationScopeOf(Node&);
+ static FocusNavigationScope ownedByNonFocusableFocusScopeOwner(Node&);
+ static FocusNavigationScope ownedByShadowHost(Node&);
+ static FocusNavigationScope ownedByShadowInsertionPoint(HTMLShadowElement&);
+ static FocusNavigationScope ownedByIFrame(HTMLFrameOwnerElement&);
private:
explicit FocusNavigationScope(TreeScope*);
« no previous file with comments | « Source/core/dom/Element.h ('k') | Source/core/page/FocusController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698