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

Side by Side Diff: sky/engine/core/dom/Document.h

Issue 712423002: Simplify some parsing-related code (Closed) Base URL: git@github.com:domokit/mojo.git@master
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 unified diff | Download patch
« no previous file with comments | « no previous file | sky/engine/core/dom/Document.cpp » ('j') | sky/engine/core/dom/Element.cpp » ('J')
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 r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 void setURL(const KURL&); 347 void setURL(const KURL&);
348 348
349 // To understand how these concepts relate to one another, please see the 349 // To understand how these concepts relate to one another, please see the
350 // comments surrounding their declaration. 350 // comments surrounding their declaration.
351 const KURL& baseURL() const { return m_baseURL; } 351 const KURL& baseURL() const { return m_baseURL; }
352 352
353 KURL completeURL(const String&) const; 353 KURL completeURL(const String&) const;
354 354
355 CSSStyleSheet& elementSheet(); 355 CSSStyleSheet& elementSheet();
356 356
357 virtual PassRefPtr<DocumentParser> createParser();
358 DocumentParser* parser() const { return m_parser.get(); } 357 DocumentParser* parser() const { return m_parser.get(); }
359 HTMLDocumentParser* scriptableDocumentParser() const; 358 HTMLDocumentParser* scriptableDocumentParser() const;
360 359
361 enum ReadyState { 360 enum ReadyState {
362 Loading, 361 Loading,
363 Interactive, 362 Interactive,
364 Complete 363 Complete
365 }; 364 };
366 void setReadyState(ReadyState); 365 void setReadyState(ReadyState);
367 bool isLoadCompleted(); 366 bool isLoadCompleted();
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 Node* eventTargetNodeForDocument(Document*); 867 Node* eventTargetNodeForDocument(Document*);
869 868
870 } // namespace blink 869 } // namespace blink
871 870
872 #ifndef NDEBUG 871 #ifndef NDEBUG
873 // Outside the WebCore namespace for ease of invocation from gdb. 872 // Outside the WebCore namespace for ease of invocation from gdb.
874 void showLiveDocumentInstances(); 873 void showLiveDocumentInstances();
875 #endif 874 #endif
876 875
877 #endif // Document_h 876 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/dom/Document.cpp » ('j') | sky/engine/core/dom/Element.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698