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

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

Issue 2650403006: Remove PlatformMouseEvent and use WebMouseEvent instead (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
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 class Locale; 134 class Locale;
135 class LocalFrame; 135 class LocalFrame;
136 class Location; 136 class Location;
137 class MediaQueryListListener; 137 class MediaQueryListListener;
138 class MediaQueryMatcher; 138 class MediaQueryMatcher;
139 class NodeFilter; 139 class NodeFilter;
140 class NodeIterator; 140 class NodeIterator;
141 class NthIndexCache; 141 class NthIndexCache;
142 class OriginAccessEntry; 142 class OriginAccessEntry;
143 class Page; 143 class Page;
144 class PlatformMouseEvent;
145 class ProcessingInstruction; 144 class ProcessingInstruction;
146 class PropertyRegistry; 145 class PropertyRegistry;
147 class QualifiedName; 146 class QualifiedName;
148 class Range; 147 class Range;
149 class ResizeObserverController; 148 class ResizeObserverController;
150 class ResourceFetcher; 149 class ResourceFetcher;
151 class RootScrollerController; 150 class RootScrollerController;
152 class SVGDocumentExtensions; 151 class SVGDocumentExtensions;
153 class SVGUseElement; 152 class SVGUseElement;
154 class ScriptRunner; 153 class ScriptRunner;
(...skipping 10 matching lines...) Expand all
165 class StringOrDictionary; 164 class StringOrDictionary;
166 class StyleEngine; 165 class StyleEngine;
167 class StyleResolver; 166 class StyleResolver;
168 class StyleSheetList; 167 class StyleSheetList;
169 class TextAutosizer; 168 class TextAutosizer;
170 class Touch; 169 class Touch;
171 class TouchList; 170 class TouchList;
172 class TransformSource; 171 class TransformSource;
173 class TreeWalker; 172 class TreeWalker;
174 class VisitedLinkState; 173 class VisitedLinkState;
174 class WebMouseEvent;
175 struct AnnotatedRegionValue; 175 struct AnnotatedRegionValue;
176 struct FocusParams; 176 struct FocusParams;
177 struct IconURL; 177 struct IconURL;
178 178
179 using MouseEventWithHitTestResults = 179 using MouseEventWithHitTestResults = EventWithHitTestResults<WebMouseEvent>;
180 EventWithHitTestResults<PlatformMouseEvent>;
181 using ExceptionCode = int; 180 using ExceptionCode = int;
182 181
183 enum NodeListInvalidationType { 182 enum NodeListInvalidationType {
184 DoNotInvalidateOnAttributeChanges = 0, 183 DoNotInvalidateOnAttributeChanges = 0,
185 InvalidateOnClassAttrChange, 184 InvalidateOnClassAttrChange,
186 InvalidateOnIdNameAttrChange, 185 InvalidateOnIdNameAttrChange,
187 InvalidateOnNameAttrChange, 186 InvalidateOnNameAttrChange,
188 InvalidateOnForAttrChange, 187 InvalidateOnForAttrChange,
189 InvalidateForFormControls, 188 InvalidateForFormControls,
190 InvalidateOnHRefAttrChange, 189 InvalidateOnHRefAttrChange,
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 return m_parsingState == InDOMContentLoaded; 679 return m_parsingState == InDOMContentLoaded;
681 } 680 }
682 bool hasFinishedParsing() const { return m_parsingState == FinishedParsing; } 681 bool hasFinishedParsing() const { return m_parsingState == FinishedParsing; }
683 682
684 bool shouldScheduleLayout() const; 683 bool shouldScheduleLayout() const;
685 int elapsedTime() const; 684 int elapsedTime() const;
686 685
687 TextLinkColors& textLinkColors() { return m_textLinkColors; } 686 TextLinkColors& textLinkColors() { return m_textLinkColors; }
688 VisitedLinkState& visitedLinkState() const { return *m_visitedLinkState; } 687 VisitedLinkState& visitedLinkState() const { return *m_visitedLinkState; }
689 688
690 MouseEventWithHitTestResults performMouseEventHitTest( 689 MouseEventWithHitTestResults performMouseEventHitTest(const HitTestRequest&,
691 const HitTestRequest&, 690 const LayoutPoint&,
692 const LayoutPoint&, 691 const WebMouseEvent&);
693 const PlatformMouseEvent&);
694 692
695 /* Newly proposed CSS3 mechanism for selecting alternate 693 /* Newly proposed CSS3 mechanism for selecting alternate
696 stylesheets using the DOM. May be subject to change as 694 stylesheets using the DOM. May be subject to change as
697 spec matures. - dwh 695 spec matures. - dwh
698 */ 696 */
699 String preferredStylesheetSet() const; 697 String preferredStylesheetSet() const;
700 String selectedStylesheetSet() const; 698 String selectedStylesheetSet() const;
701 void setSelectedStylesheetSet(const String&); 699 void setSelectedStylesheetSet(const String&);
702 700
703 bool setFocusedElement(Element*, const FocusParams&); 701 bool setFocusedElement(Element*, const FocusParams&);
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after
1722 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1720 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1723 1721
1724 } // namespace blink 1722 } // namespace blink
1725 1723
1726 #ifndef NDEBUG 1724 #ifndef NDEBUG
1727 // Outside the WebCore namespace for ease of invocation from gdb. 1725 // Outside the WebCore namespace for ease of invocation from gdb.
1728 CORE_EXPORT void showLiveDocumentInstances(); 1726 CORE_EXPORT void showLiveDocumentInstances();
1729 #endif 1727 #endif
1730 1728
1731 #endif // Document_h 1729 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | third_party/WebKit/Source/core/dom/Node.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698