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

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

Issue 845093002: Delete an assortment of unneeded paint invalidation code. (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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 void performPreLayoutTasks(); 217 void performPreLayoutTasks();
218 void performLayout(RenderObject* rootForThisLayout, bool inSubtreeLayout); 218 void performLayout(RenderObject* rootForThisLayout, bool inSubtreeLayout);
219 void scheduleOrPerformPostLayoutTasks(); 219 void scheduleOrPerformPostLayoutTasks();
220 void performPostLayoutTasks(); 220 void performPostLayoutTasks();
221 221
222 void invalidateTreeIfNeeded(); 222 void invalidateTreeIfNeeded();
223 223
224 DocumentLifecycle& lifecycle() const; 224 DocumentLifecycle& lifecycle() const;
225 225
226 // FIXME(sky): Remove now that we're not a ScrollView? 226 // FIXME(sky): Remove now that we're not a ScrollView?
227 void contentRectangleForPaintInvalidation(const IntRect&);
228 void contentsResized(); 227 void contentsResized();
229 228
230 bool wasViewportResized(); 229 bool wasViewportResized();
231 void sendResizeEventIfNeeded(); 230 void sendResizeEventIfNeeded();
232 231
233 void setLayoutSizeInternal(const IntSize&); 232 void setLayoutSizeInternal(const IntSize&);
234 233
235 bool paintInvalidationIsAllowed() const 234 bool paintInvalidationIsAllowed() const
236 { 235 {
237 return !isInPerformLayout() || canInvalidatePaintDuringPerformLayout(); 236 return !isInPerformLayout() || canInvalidatePaintDuringPerformLayout();
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); 310 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue);
312 } 311 }
313 private: 312 private:
314 FrameView* m_view; 313 FrameView* m_view;
315 bool m_originalValue; 314 bool m_originalValue;
316 }; 315 };
317 316
318 } // namespace blink 317 } // namespace blink
319 318
320 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ 319 #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