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

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

Issue 1309883003: Add hooks for capturing meaningful text info, gently. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Oopsie fixed. Created 5 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/loader/NavigationScheduler.h » ('j') | public/web/WebLocalFrame.h » ('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 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 bool isLoadCompleted(); 560 bool isLoadCompleted();
561 561
562 enum ParsingState { 562 enum ParsingState {
563 Parsing, 563 Parsing,
564 InDOMContentLoaded, 564 InDOMContentLoaded,
565 FinishedParsing 565 FinishedParsing
566 }; 566 };
567 void setParsingState(ParsingState); 567 void setParsingState(ParsingState);
568 bool parsing() const { return m_parsingState == Parsing; } 568 bool parsing() const { return m_parsingState == Parsing; }
569 bool isInDOMContentLoaded() const { return m_parsingState == InDOMContentLoa ded; } 569 bool isInDOMContentLoaded() const { return m_parsingState == InDOMContentLoa ded; }
570 bool hasFinishedParsing() const { return m_parsingState == FinishedParsing; }
570 571
571 bool shouldScheduleLayout() const; 572 bool shouldScheduleLayout() const;
572 int elapsedTime() const; 573 int elapsedTime() const;
573 574
574 TextLinkColors& textLinkColors() { return m_textLinkColors; } 575 TextLinkColors& textLinkColors() { return m_textLinkColors; }
575 VisitedLinkState& visitedLinkState() const { return *m_visitedLinkState; } 576 VisitedLinkState& visitedLinkState() const { return *m_visitedLinkState; }
576 577
577 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const LayoutPoint&, const PlatformMouseEvent&); 578 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const LayoutPoint&, const PlatformMouseEvent&);
578 579
579 /* Newly proposed CSS3 mechanism for selecting alternate 580 /* Newly proposed CSS3 mechanism for selecting alternate
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
1423 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1424 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1424 1425
1425 } // namespace blink 1426 } // namespace blink
1426 1427
1427 #ifndef NDEBUG 1428 #ifndef NDEBUG
1428 // Outside the WebCore namespace for ease of invocation from gdb. 1429 // Outside the WebCore namespace for ease of invocation from gdb.
1429 CORE_EXPORT void showLiveDocumentInstances(); 1430 CORE_EXPORT void showLiveDocumentInstances();
1430 #endif 1431 #endif
1431 1432
1432 #endif // Document_h 1433 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/loader/NavigationScheduler.h » ('j') | public/web/WebLocalFrame.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698