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

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

Issue 865383003: Consolidate callers to scheduleVisualUpdate. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 334
335 void setActiveHoverElement(PassRefPtr<Element>); 335 void setActiveHoverElement(PassRefPtr<Element>);
336 Element* activeHoverElement() const { return m_activeHoverElement.get(); } 336 Element* activeHoverElement() const { return m_activeHoverElement.get(); }
337 337
338 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false); 338 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false);
339 void hoveredNodeDetached(Node*); 339 void hoveredNodeDetached(Node*);
340 void activeChainNodeDetached(Node*); 340 void activeChainNodeDetached(Node*);
341 341
342 void updateHoverActiveState(const HitTestRequest&, Element*, const PlatformM ouseEvent* = 0); 342 void updateHoverActiveState(const HitTestRequest&, Element*, const PlatformM ouseEvent* = 0);
343 343
344 void scheduleVisualUpdate();
345
344 void scheduleRenderTreeUpdateIfNeeded(); 346 void scheduleRenderTreeUpdateIfNeeded();
345 347
346 void attachRange(Range*); 348 void attachRange(Range*);
347 void detachRange(Range*); 349 void detachRange(Range*);
348 350
349 void updateRangesAfterChildrenChanged(ContainerNode*); 351 void updateRangesAfterChildrenChanged(ContainerNode*);
350 void updateRangesAfterNodeMovedToAnotherDocument(const Node&); 352 void updateRangesAfterNodeMovedToAnotherDocument(const Node&);
351 // nodeChildrenWillBeRemoved is used when removing all node children at once . 353 // nodeChildrenWillBeRemoved is used when removing all node children at once .
352 void nodeChildrenWillBeRemoved(ContainerNode&); 354 void nodeChildrenWillBeRemoved(ContainerNode&);
353 // nodeWillBeRemoved is only safe when removing one node at a time. 355 // nodeWillBeRemoved is only safe when removing one node at a time.
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 Node* eventTargetNodeForDocument(Document*); 780 Node* eventTargetNodeForDocument(Document*);
779 781
780 } // namespace blink 782 } // namespace blink
781 783
782 #ifndef NDEBUG 784 #ifndef NDEBUG
783 // Outside the WebCore namespace for ease of invocation from gdb. 785 // Outside the WebCore namespace for ease of invocation from gdb.
784 void showLiveDocumentInstances(); 786 void showLiveDocumentInstances();
785 #endif 787 #endif
786 788
787 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ 789 #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