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

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: Remove redundant condition 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
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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 bool parsing() const { return m_parsingState == Parsing; } 608 bool parsing() const { return m_parsingState == Parsing; }
609 bool isInDOMContentLoaded() const { return m_parsingState == InDOMContentLoa ded; } 609 bool isInDOMContentLoaded() const { return m_parsingState == InDOMContentLoa ded; }
610 bool hasFinishedParsing() const { return m_parsingState == FinishedParsing; } 610 bool hasFinishedParsing() const { return m_parsingState == FinishedParsing; }
611 611
612 bool shouldScheduleLayout() const; 612 bool shouldScheduleLayout() const;
613 int elapsedTime() const; 613 int elapsedTime() const;
614 614
615 TextLinkColors& textLinkColors() { return m_textLinkColors; } 615 TextLinkColors& textLinkColors() { return m_textLinkColors; }
616 VisitedLinkState& visitedLinkState() const { return *m_visitedLinkState; } 616 VisitedLinkState& visitedLinkState() const { return *m_visitedLinkState; }
617 617
618 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const LayoutPoint&, const PlatformMouseEvent&); 618 MouseEventWithHitTestResults performMouseEventHitTest(const HitTestRequest&, const LayoutPoint&, const PlatformMouseEvent&);
619 619
620 /* Newly proposed CSS3 mechanism for selecting alternate 620 /* Newly proposed CSS3 mechanism for selecting alternate
621 stylesheets using the DOM. May be subject to change as 621 stylesheets using the DOM. May be subject to change as
622 spec matures. - dwh 622 spec matures. - dwh
623 */ 623 */
624 String preferredStylesheetSet() const; 624 String preferredStylesheetSet() const;
625 String selectedStylesheetSet() const; 625 String selectedStylesheetSet() const;
626 void setSelectedStylesheetSet(const String&); 626 void setSelectedStylesheetSet(const String&);
627 627
628 bool setFocusedElement(Element*, const FocusParams&); 628 bool setFocusedElement(Element*, const FocusParams&);
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
1480 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1480 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1481 1481
1482 } // namespace blink 1482 } // namespace blink
1483 1483
1484 #ifndef NDEBUG 1484 #ifndef NDEBUG
1485 // Outside the WebCore namespace for ease of invocation from gdb. 1485 // Outside the WebCore namespace for ease of invocation from gdb.
1486 CORE_EXPORT void showLiveDocumentInstances(); 1486 CORE_EXPORT void showLiveDocumentInstances();
1487 #endif 1487 #endif
1488 1488
1489 #endif // Document_h 1489 #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/input/EventHandler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698