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

Side by Side Diff: sky/engine/core/frame/FrameView.h

Issue 755843003: Remove compositing states from DocumentLifeCycle. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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) 1997 Martin Jones (mjones@kde.org) 2 Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 (C) 1998 Waldo Bastian (bastian@kde.org) 3 (C) 1998 Waldo Bastian (bastian@kde.org)
4 (C) 1998, 1999 Torben Weis (weis@kde.org) 4 (C) 1998, 1999 Torben Weis (weis@kde.org)
5 (C) 1999 Lars Knoll (knoll@kde.org) 5 (C) 1999 Lars Knoll (knoll@kde.org)
6 (C) 1999 Antti Koivisto (koivisto@kde.org) 6 (C) 1999 Antti Koivisto (koivisto@kde.org)
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
8 8
9 This library is free software; you can redistribute it and/or 9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public 10 modify it under the terms of the GNU Library General Public
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 bool hasEverPainted() const { return m_lastPaintTime; } 144 bool hasEverPainted() const { return m_lastPaintTime; }
145 void setNodeToDraw(Node*); 145 void setNodeToDraw(Node*);
146 146
147 Color documentBackgroundColor() const; 147 Color documentBackgroundColor() const;
148 148
149 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; } 149 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; }
150 150
151 void updateLayoutAndStyleForPainting(); 151 void updateLayoutAndStyleForPainting();
152 void updateLayoutAndStyleIfNeededRecursive(); 152 void updateLayoutAndStyleIfNeededRecursive();
153 153
154 void invalidateTreeIfNeededRecursive();
155
156 void forceLayout(bool allowSubtree = false); 154 void forceLayout(bool allowSubtree = false);
157 155
158 // Methods to convert points and rects between the coordinate space of the r enderer, and this view. 156 // Methods to convert points and rects between the coordinate space of the r enderer, and this view.
159 IntRect convertFromRenderer(const RenderObject&, const IntRect&) const; 157 IntRect convertFromRenderer(const RenderObject&, const IntRect&) const;
160 IntRect convertToRenderer(const RenderObject&, const IntRect&) const; 158 IntRect convertToRenderer(const RenderObject&, const IntRect&) const;
161 IntPoint convertFromRenderer(const RenderObject&, const IntPoint&) const; 159 IntPoint convertFromRenderer(const RenderObject&, const IntPoint&) const;
162 IntPoint convertToRenderer(const RenderObject&, const IntPoint&) const; 160 IntPoint convertToRenderer(const RenderObject&, const IntPoint&) const;
163 161
164 bool shouldSetCursor() const; 162 bool shouldSetCursor() const;
165 163
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); 320 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue);
323 } 321 }
324 private: 322 private:
325 FrameView* m_view; 323 FrameView* m_view;
326 bool m_originalValue; 324 bool m_originalValue;
327 }; 325 };
328 326
329 } // namespace blink 327 } // namespace blink
330 328
331 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ 329 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698