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: Source/core/frame/FrameView.h

Issue 474793002: Add GraphicsLayerDebugInfo::includesNewPaintInvalidation to distinguish paint from new RenderObjects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: reset from FrameView Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | Source/core/frame/FrameView.cpp » ('J')
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 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 AXObjectCache* axObjectCache() const; 397 AXObjectCache* axObjectCache() const;
398 void removeFromAXObjectCache(); 398 void removeFromAXObjectCache();
399 399
400 void setLayoutSizeInternal(const IntSize&); 400 void setLayoutSizeInternal(const IntSize&);
401 401
402 bool paintInvalidationIsAllowed() const 402 bool paintInvalidationIsAllowed() const
403 { 403 {
404 return !isInPerformLayout() || canInvalidatePaintDuringPerformLayout(); 404 return !isInPerformLayout() || canInvalidatePaintDuringPerformLayout();
405 } 405 }
406 406
407 void resetFirstPaintInvalidationFlag(RenderObject* layoutRoot);
408
407 static double s_currentFrameTimeStamp; // used for detecting decoded resourc e thrash in the cache 409 static double s_currentFrameTimeStamp; // used for detecting decoded resourc e thrash in the cache
408 static bool s_inPaintContents; 410 static bool s_inPaintContents;
409 411
410 LayoutSize m_size; 412 LayoutSize m_size;
411 413
412 typedef WillBeHeapHashSet<RefPtrWillBeMember<RenderEmbeddedObject> > Embedde dObjectSet; 414 typedef WillBeHeapHashSet<RefPtrWillBeMember<RenderEmbeddedObject> > Embedde dObjectSet;
413 WillBePersistentHeapHashSet<RefPtrWillBeMember<RenderEmbeddedObject> > m_wid getUpdateSet; 415 WillBePersistentHeapHashSet<RefPtrWillBeMember<RenderEmbeddedObject> > m_wid getUpdateSet;
414 416
415 // FIXME: These are just "children" of the FrameView and should be RefPtr<Wi dget> instead. 417 // FIXME: These are just "children" of the FrameView and should be RefPtr<Wi dget> instead.
416 WillBePersistentHeapHashSet<RefPtrWillBeMember<RenderWidget> > m_widgets; 418 WillBePersistentHeapHashSet<RefPtrWillBeMember<RenderWidget> > m_widgets;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); 547 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue);
546 } 548 }
547 private: 549 private:
548 FrameView* m_view; 550 FrameView* m_view;
549 bool m_originalValue; 551 bool m_originalValue;
550 }; 552 };
551 553
552 } // namespace blink 554 } // namespace blink
553 555
554 #endif // FrameView_h 556 #endif // FrameView_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | Source/core/frame/FrameView.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698