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

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

Issue 853433002: Remove Document::shouldScheduleLayout. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove redundant call. Created 5 years, 11 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 | sky/engine/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 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 Loading, 314 Loading,
315 Interactive, 315 Interactive,
316 Complete 316 Complete
317 }; 317 };
318 void setReadyState(ReadyState); 318 void setReadyState(ReadyState);
319 bool isLoadCompleted(); 319 bool isLoadCompleted();
320 320
321 void setParsing(bool); 321 void setParsing(bool);
322 bool parsing() const { return m_isParsing; } 322 bool parsing() const { return m_isParsing; }
323 323
324 bool shouldScheduleLayout() const;
325 int elapsedTime() const; 324 int elapsedTime() const;
326 325
327 TextLinkColors& textLinkColors() { return m_textLinkColors; } 326 TextLinkColors& textLinkColors() { return m_textLinkColors; }
328 327
329 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const LayoutPoint&, const PlatformMouseEvent&); 328 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const LayoutPoint&, const PlatformMouseEvent&);
330 329
331 bool setFocusedElement(PassRefPtr<Element>, FocusType = FocusTypeNone); 330 bool setFocusedElement(PassRefPtr<Element>, FocusType = FocusTypeNone);
332 Element* focusedElement() const { return m_focusedElement.get(); } 331 Element* focusedElement() const { return m_focusedElement.get(); }
333 UserActionElementSet& userActionElements() { return m_userActionElements; } 332 UserActionElementSet& userActionElements() { return m_userActionElements; }
334 const UserActionElementSet& userActionElements() const { return m_userAction Elements; } 333 const UserActionElementSet& userActionElements() const { return m_userAction Elements; }
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 Node* eventTargetNodeForDocument(Document*); 786 Node* eventTargetNodeForDocument(Document*);
788 787
789 } // namespace blink 788 } // namespace blink
790 789
791 #ifndef NDEBUG 790 #ifndef NDEBUG
792 // Outside the WebCore namespace for ease of invocation from gdb. 791 // Outside the WebCore namespace for ease of invocation from gdb.
793 void showLiveDocumentInstances(); 792 void showLiveDocumentInstances();
794 #endif 793 #endif
795 794
796 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ 795 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698