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

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

Issue 2634453003: Remove SelectionBehaviorOnFocus argument of Document::updateFocusAppearanceSoon(). (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/core/dom/Document.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) 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 class StringOrDictionary; 165 class StringOrDictionary;
166 class StyleEngine; 166 class StyleEngine;
167 class StyleResolver; 167 class StyleResolver;
168 class StyleSheetList; 168 class StyleSheetList;
169 class TextAutosizer; 169 class TextAutosizer;
170 class Touch; 170 class Touch;
171 class TouchList; 171 class TouchList;
172 class TransformSource; 172 class TransformSource;
173 class TreeWalker; 173 class TreeWalker;
174 class VisitedLinkState; 174 class VisitedLinkState;
175 enum class SelectionBehaviorOnFocus;
176 struct AnnotatedRegionValue; 175 struct AnnotatedRegionValue;
177 struct FocusParams; 176 struct FocusParams;
178 struct IconURL; 177 struct IconURL;
179 178
180 using MouseEventWithHitTestResults = 179 using MouseEventWithHitTestResults =
181 EventWithHitTestResults<PlatformMouseEvent>; 180 EventWithHitTestResults<PlatformMouseEvent>;
182 using ExceptionCode = int; 181 using ExceptionCode = int;
183 182
184 enum NodeListInvalidationType { 183 enum NodeListInvalidationType {
185 DoNotInvalidateOnAttributeChanges = 0, 184 DoNotInvalidateOnAttributeChanges = 0,
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 } 971 }
973 972
974 Vector<IconURL> iconURLs(int iconTypesMask); 973 Vector<IconURL> iconURLs(int iconTypesMask);
975 974
976 Color themeColor() const; 975 Color themeColor() const;
977 976
978 // Returns the HTMLLinkElement currently in use for the Web Manifest. 977 // Returns the HTMLLinkElement currently in use for the Web Manifest.
979 // Returns null if there is no such element. 978 // Returns null if there is no such element.
980 HTMLLinkElement* linkManifest() const; 979 HTMLLinkElement* linkManifest() const;
981 980
982 void updateFocusAppearanceSoon(SelectionBehaviorOnFocus); 981 void updateFocusAppearanceLater();
983 void cancelFocusAppearanceUpdate(); 982 void cancelFocusAppearanceUpdate();
984 983
985 bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; } 984 bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; }
986 void parseDNSPrefetchControlHeader(const String&); 985 void parseDNSPrefetchControlHeader(const String&);
987 986
988 void postTask(TaskType, 987 void postTask(TaskType,
989 const WebTraceLocation&, 988 const WebTraceLocation&,
990 std::unique_ptr<ExecutionContextTask>, 989 std::unique_ptr<ExecutionContextTask>,
991 const String& taskNameForInstrumentation = emptyString()) 990 const String& taskNameForInstrumentation = emptyString())
992 override; // Executes the task on context's thread asynchronously. 991 override; // Executes the task on context's thread asynchronously.
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 bool m_visuallyOrdered; 1517 bool m_visuallyOrdered;
1519 1518
1520 DocumentReadyState m_readyState; 1519 DocumentReadyState m_readyState;
1521 ParsingState m_parsingState; 1520 ParsingState m_parsingState;
1522 1521
1523 bool m_gotoAnchorNeededAfterStylesheetsLoad; 1522 bool m_gotoAnchorNeededAfterStylesheetsLoad;
1524 bool m_isDNSPrefetchEnabled; 1523 bool m_isDNSPrefetchEnabled;
1525 bool m_haveExplicitlyDisabledDNSPrefetch; 1524 bool m_haveExplicitlyDisabledDNSPrefetch;
1526 bool m_containsValidityStyleRules; 1525 bool m_containsValidityStyleRules;
1527 bool m_containsPlugins; 1526 bool m_containsPlugins;
1528 SelectionBehaviorOnFocus m_updateFocusAppearanceSelectionBahavior;
1529 1527
1530 // http://www.whatwg.org/specs/web-apps/current-work/#ignore-destructive-write s-counter 1528 // http://www.whatwg.org/specs/web-apps/current-work/#ignore-destructive-write s-counter
1531 unsigned m_ignoreDestructiveWriteCount; 1529 unsigned m_ignoreDestructiveWriteCount;
1532 // https://html.spec.whatwg.org/#throw-on-dynamic-markup-insertion-counter 1530 // https://html.spec.whatwg.org/#throw-on-dynamic-markup-insertion-counter
1533 unsigned m_throwOnDynamicMarkupInsertionCount; 1531 unsigned m_throwOnDynamicMarkupInsertionCount;
1534 1532
1535 String m_title; 1533 String m_title;
1536 String m_rawTitle; 1534 String m_rawTitle;
1537 Member<Element> m_titleElement; 1535 Member<Element> m_titleElement;
1538 1536
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1724 1722
1725 } // namespace blink 1723 } // namespace blink
1726 1724
1727 #ifndef NDEBUG 1725 #ifndef NDEBUG
1728 // Outside the WebCore namespace for ease of invocation from gdb. 1726 // Outside the WebCore namespace for ease of invocation from gdb.
1729 CORE_EXPORT void showLiveDocumentInstances(); 1727 CORE_EXPORT void showLiveDocumentInstances();
1730 #endif 1728 #endif
1731 1729
1732 #endif // Document_h 1730 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698