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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2586143004: Blur immediately if an attribute change made an element unfocasable. (Closed)
Patch Set: Update comments and a function name Created 3 years, 12 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 String selectedStylesheetSet() const; 699 String selectedStylesheetSet() const;
700 void setSelectedStylesheetSet(const String&); 700 void setSelectedStylesheetSet(const String&);
701 701
702 bool setFocusedElement(Element*, const FocusParams&); 702 bool setFocusedElement(Element*, const FocusParams&);
703 void clearFocusedElement(); 703 void clearFocusedElement();
704 Element* focusedElement() const { return m_focusedElement.get(); } 704 Element* focusedElement() const { return m_focusedElement.get(); }
705 UserActionElementSet& userActionElements() { return m_userActionElements; } 705 UserActionElementSet& userActionElements() { return m_userActionElements; }
706 const UserActionElementSet& userActionElements() const { 706 const UserActionElementSet& userActionElements() const {
707 return m_userActionElements; 707 return m_userActionElements;
708 } 708 }
709 void setNeedsFocusedElementCheck();
710 void setAutofocusElement(Element*); 709 void setAutofocusElement(Element*);
711 Element* autofocusElement() const { return m_autofocusElement.get(); } 710 Element* autofocusElement() const { return m_autofocusElement.get(); }
712 void setSequentialFocusNavigationStartingPoint(Node*); 711 void setSequentialFocusNavigationStartingPoint(Node*);
713 Element* sequentialFocusNavigationStartingPoint(WebFocusType) const; 712 Element* sequentialFocusNavigationStartingPoint(WebFocusType) const;
714 713
715 void setActiveHoverElement(Element*); 714 void setActiveHoverElement(Element*);
716 Element* activeHoverElement() const { return m_activeHoverElement.get(); } 715 Element* activeHoverElement() const { return m_activeHoverElement.get(); }
717 716
718 Node* hoverNode() const { return m_hoverNode.get(); } 717 Node* hoverNode() const { return m_hoverNode.get(); }
719 718
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
1719 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1718 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1720 1719
1721 } // namespace blink 1720 } // namespace blink
1722 1721
1723 #ifndef NDEBUG 1722 #ifndef NDEBUG
1724 // Outside the WebCore namespace for ease of invocation from gdb. 1723 // Outside the WebCore namespace for ease of invocation from gdb.
1725 CORE_EXPORT void showLiveDocumentInstances(); 1724 CORE_EXPORT void showLiveDocumentInstances();
1726 #endif 1725 #endif
1727 1726
1728 #endif // Document_h 1727 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698