| Index: Source/core/dom/Document.h
|
| diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
|
| index 08627c359e7a8bca1c995c1b2fc1966b84268b10..50853636c214127bc5db82b213451d474d938b21 100644
|
| --- a/Source/core/dom/Document.h
|
| +++ b/Source/core/dom/Document.h
|
| @@ -299,7 +299,7 @@ public:
|
| DocumentType* doctype() const { return m_docType.get(); }
|
|
|
| DOMImplementation* implementation();
|
| -
|
| +
|
| Element* documentElement() const
|
| {
|
| return m_documentElement.get();
|
| @@ -423,7 +423,7 @@ public:
|
| bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNamespaces; }
|
|
|
| StyleResolver* styleResolver()
|
| - {
|
| + {
|
| if (!m_styleResolver)
|
| createStyleResolver();
|
| return m_styleResolver.get();
|
| @@ -529,7 +529,7 @@ public:
|
| // to get visually ordered hebrew and arabic pages right
|
| void setVisuallyOrdered();
|
| bool visuallyOrdered() const { return m_visuallyOrdered; }
|
| -
|
| +
|
| DocumentLoader* loader() const;
|
|
|
| void open(Document* ownerDocument = 0);
|
| @@ -575,17 +575,17 @@ public:
|
| Frame* findUnsafeParentScrollPropagationBoundary();
|
|
|
| CSSStyleSheet* elementSheet();
|
| -
|
| +
|
| virtual PassRefPtr<DocumentParser> createParser();
|
| DocumentParser* parser() const { return m_parser.get(); }
|
| ScriptableDocumentParser* scriptableDocumentParser() const;
|
| -
|
| +
|
| bool printing() const { return m_printing; }
|
| void setPrinting(bool p) { m_printing = p; }
|
|
|
| bool paginatedForScreen() const { return m_paginatedForScreen; }
|
| void setPaginatedForScreen(bool p) { m_paginatedForScreen = p; }
|
| -
|
| +
|
| bool paginated() const { return printing() || paginatedForScreen(); }
|
|
|
| enum CompatibilityMode { QuirksMode, LimitedQuirksMode, NoQuirksMode };
|
| @@ -633,7 +633,7 @@ public:
|
| const UserActionElementSet& userActionElements() const { return m_userActionElements; }
|
| void didRunCheckFocusedElementTask() { m_didPostCheckFocusedElementTask = false; }
|
|
|
| - // The m_ignoreAutofocus flag specifies whether or not the document has been changed by the user enough
|
| + // The m_ignoreAutofocus flag specifies whether or not the document has been changed by the user enough
|
| // for WebCore to ignore the autofocus attribute on any form controls
|
| bool ignoreAutofocus() const { return m_ignoreAutofocus; };
|
| void setIgnoreAutofocus(bool shouldIgnore = true) { m_ignoreAutofocus = shouldIgnore; };
|
| @@ -687,7 +687,7 @@ public:
|
| void setDOMWindow(DOMWindow* domWindow) { m_domWindow = domWindow; }
|
| DOMWindow* domWindow() const { return m_domWindow; }
|
| // In DOM Level 2, the Document's DOMWindow is called the defaultView.
|
| - DOMWindow* defaultView() const { return domWindow(); }
|
| + DOMWindow* defaultView() const { return domWindow(); }
|
|
|
| // Helper functions for forwarding DOMWindow event related tasks to the DOMWindow if it exists.
|
| void setWindowAttributeEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, DOMWrapperWorld* isolatedWorld = 0);
|
| @@ -780,7 +780,7 @@ public:
|
| void setCookieURL(const KURL& url) { m_cookieURL = url; }
|
|
|
| const KURL& firstPartyForCookies() const;
|
| -
|
| +
|
| // The following implements the rule from HTML 4 for what valid names are.
|
| // To get this right for all the XML cases, we probably have to improve this or move it
|
| // and make it sensitive to the type of document.
|
| @@ -817,7 +817,7 @@ public:
|
| KURL openSearchDescriptionURL();
|
|
|
| // designMode support
|
| - enum InheritedBool { off = false, on = true, inherit };
|
| + enum InheritedBool { off = false, on = true, inherit };
|
| void setDesignMode(InheritedBool value);
|
| InheritedBool getDesignMode() const;
|
| bool inDesignMode() const;
|
| @@ -858,7 +858,7 @@ public:
|
|
|
| void updateFocusAppearanceSoon(bool restorePreviousSelection);
|
| void cancelFocusAppearanceUpdate();
|
| -
|
| +
|
| // Extension for manipulating canvas drawing contexts for use in CSS
|
| CanvasRenderingContext* getCSSCanvasContext(const String& type, const String& name, int width, int height);
|
| HTMLCanvasElement* getCSSCanvasElement(const String& name);
|
| @@ -1176,7 +1176,7 @@ private:
|
|
|
| uint64_t m_domTreeVersion;
|
| static uint64_t s_globalTreeVersion;
|
| -
|
| +
|
| HashSet<NodeIterator*> m_nodeIterators;
|
| HashSet<Range*> m_ranges;
|
|
|
| @@ -1219,7 +1219,7 @@ private:
|
|
|
| OwnPtr<AXObjectCache> m_axObjectCache;
|
| OwnPtr<DocumentMarkerController> m_markers;
|
| -
|
| +
|
| Timer<Document> m_updateFocusAppearanceTimer;
|
|
|
| Element* m_cssTarget;
|
| @@ -1234,7 +1234,7 @@ private:
|
| RefPtr<SerializedScriptValue> m_pendingStateObject;
|
| double m_startTime;
|
| bool m_overMinimumLayoutThreshold;
|
| -
|
| +
|
| OwnPtr<ScriptRunner> m_scriptRunner;
|
|
|
| Vector<RefPtr<HTMLScriptElement> > m_currentScriptStack;
|
| @@ -1301,7 +1301,7 @@ private:
|
| RefPtr<MediaQueryMatcher> m_mediaQueryMatcher;
|
| bool m_writeRecursionIsTooDeep;
|
| unsigned m_writeRecursionDepth;
|
| -
|
| +
|
| unsigned m_wheelEventHandlerCount;
|
| OwnPtr<TouchEventTargetSet> m_touchEventTargets;
|
|
|
| @@ -1319,7 +1319,7 @@ private:
|
| RefPtr<CustomElementRegistrationContext> m_registrationContext;
|
|
|
| bool m_scheduledTasksAreSuspended;
|
| -
|
| +
|
| RefPtr<NamedFlowCollection> m_namedFlows;
|
|
|
| RefPtr<DOMSecurityPolicy> m_domSecurityPolicy;
|
|
|