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

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

Issue 847393003: Remove the PaintInvalidation DocumentLifeCycle states. (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 | « sky/engine/core/editing/FrameSelection.cpp ('k') | sky/engine/core/frame/FrameView.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) 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 void init(); 210 void init();
211 211
212 virtual bool isFrameView() const override { return true; } 212 virtual bool isFrameView() const override { return true; }
213 213
214 void forceLayoutParentViewIfNeeded(); 214 void forceLayoutParentViewIfNeeded();
215 void performPreLayoutTasks(); 215 void performPreLayoutTasks();
216 void performLayout(RenderObject* rootForThisLayout, bool inSubtreeLayout); 216 void performLayout(RenderObject* rootForThisLayout, bool inSubtreeLayout);
217 void scheduleOrPerformPostLayoutTasks(); 217 void scheduleOrPerformPostLayoutTasks();
218 void performPostLayoutTasks(); 218 void performPostLayoutTasks();
219 219
220 void invalidateTreeIfNeeded();
221
222 DocumentLifecycle& lifecycle() const; 220 DocumentLifecycle& lifecycle() const;
223 221
224 // FIXME(sky): Remove now that we're not a ScrollView? 222 // FIXME(sky): Remove now that we're not a ScrollView?
225 void contentsResized(); 223 void contentsResized();
226 224
227 bool wasViewportResized(); 225 bool wasViewportResized();
228 void sendResizeEventIfNeeded(); 226 void sendResizeEventIfNeeded();
229 227
230 void setLayoutSizeInternal(const IntSize&); 228 void setLayoutSizeInternal(const IntSize&);
231 229
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); 304 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue);
307 } 305 }
308 private: 306 private:
309 FrameView* m_view; 307 FrameView* m_view;
310 bool m_originalValue; 308 bool m_originalValue;
311 }; 309 };
312 310
313 } // namespace blink 311 } // namespace blink
314 312
315 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ 313 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_
OLDNEW
« no previous file with comments | « sky/engine/core/editing/FrameSelection.cpp ('k') | sky/engine/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698