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

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

Issue 2350433002: Extract more of the mouse logic from EventHandler (Closed)
Patch Set: Yet another rebase because of a presubmit rule bug Created 4 years, 2 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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 return m_parsingState == InDOMContentLoaded; 657 return m_parsingState == InDOMContentLoaded;
658 } 658 }
659 bool hasFinishedParsing() const { return m_parsingState == FinishedParsing; } 659 bool hasFinishedParsing() const { return m_parsingState == FinishedParsing; }
660 660
661 bool shouldScheduleLayout() const; 661 bool shouldScheduleLayout() const;
662 int elapsedTime() const; 662 int elapsedTime() const;
663 663
664 TextLinkColors& textLinkColors() { return m_textLinkColors; } 664 TextLinkColors& textLinkColors() { return m_textLinkColors; }
665 VisitedLinkState& visitedLinkState() const { return *m_visitedLinkState; } 665 VisitedLinkState& visitedLinkState() const { return *m_visitedLinkState; }
666 666
667 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, 667 MouseEventWithHitTestResults performMouseEventHitTest(
668 const LayoutPoint&, 668 const HitTestRequest&,
669 const PlatformMouseEvent&); 669 const LayoutPoint&,
670 const PlatformMouseEvent&);
670 671
671 /* Newly proposed CSS3 mechanism for selecting alternate 672 /* Newly proposed CSS3 mechanism for selecting alternate
672 stylesheets using the DOM. May be subject to change as 673 stylesheets using the DOM. May be subject to change as
673 spec matures. - dwh 674 spec matures. - dwh
674 */ 675 */
675 String preferredStylesheetSet() const; 676 String preferredStylesheetSet() const;
676 String selectedStylesheetSet() const; 677 String selectedStylesheetSet() const;
677 void setSelectedStylesheetSet(const String&); 678 void setSelectedStylesheetSet(const String&);
678 679
679 bool setFocusedElement(Element*, const FocusParams&); 680 bool setFocusedElement(Element*, const FocusParams&);
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
1679 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1680 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1680 1681
1681 } // namespace blink 1682 } // namespace blink
1682 1683
1683 #ifndef NDEBUG 1684 #ifndef NDEBUG
1684 // Outside the WebCore namespace for ease of invocation from gdb. 1685 // Outside the WebCore namespace for ease of invocation from gdb.
1685 CORE_EXPORT void showLiveDocumentInstances(); 1686 CORE_EXPORT void showLiveDocumentInstances();
1686 #endif 1687 #endif
1687 1688
1688 #endif // Document_h 1689 #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