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

Side by Side Diff: Source/core/frame/FrameView.h

Issue 168193002: Fix compositing chicken and egg problem in updateControlTints. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add protectors Created 6 years, 10 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') | 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 bool isServicingAnimations() const { return m_servicingAnimations; } 213 bool isServicingAnimations() const { return m_servicingAnimations; }
214 214
215 virtual void paintOverhangAreas(GraphicsContext*, const IntRect& horizontalO verhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect) OVER RIDE; 215 virtual void paintOverhangAreas(GraphicsContext*, const IntRect& horizontalO verhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect) OVER RIDE;
216 virtual void paintScrollCorner(GraphicsContext*, const IntRect& cornerRect) OVERRIDE; 216 virtual void paintScrollCorner(GraphicsContext*, const IntRect& cornerRect) OVERRIDE;
217 virtual void paintScrollbar(GraphicsContext*, Scrollbar*, const IntRect&) OV ERRIDE; 217 virtual void paintScrollbar(GraphicsContext*, Scrollbar*, const IntRect&) OV ERRIDE;
218 218
219 Color documentBackgroundColor() const; 219 Color documentBackgroundColor() const;
220 220
221 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; } 221 static double currentFrameTimeStamp() { return s_currentFrameTimeStamp; }
222 222
223 void updateLayoutAndStyleForPainting();
223 void updateLayoutAndStyleIfNeededRecursive(); 224 void updateLayoutAndStyleIfNeededRecursive();
224 225
225 void incrementVisuallyNonEmptyCharacterCount(unsigned); 226 void incrementVisuallyNonEmptyCharacterCount(unsigned);
226 void incrementVisuallyNonEmptyPixelCount(const IntSize&); 227 void incrementVisuallyNonEmptyPixelCount(const IntSize&);
227 void setIsVisuallyNonEmpty() { m_isVisuallyNonEmpty = true; } 228 void setIsVisuallyNonEmpty() { m_isVisuallyNonEmpty = true; }
228 void enableAutoSizeMode(bool enable, const IntSize& minSize, const IntSize& maxSize); 229 void enableAutoSizeMode(bool enable, const IntSize& minSize, const IntSize& maxSize);
229 230
230 void forceLayout(bool allowSubtree = false); 231 void forceLayout(bool allowSubtree = false);
231 void forceLayoutForPagination(const FloatSize& pageSize, const FloatSize& or iginalPageSize, float maximumShrinkFactor); 232 void forceLayoutForPagination(const FloatSize& pageSize, const FloatSize& or iginalPageSize, float maximumShrinkFactor);
232 233
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 m_view->setCanRepaintDuringPerformLayout(m_originalValue); 554 m_view->setCanRepaintDuringPerformLayout(m_originalValue);
554 } 555 }
555 private: 556 private:
556 FrameView* m_view; 557 FrameView* m_view;
557 bool m_originalValue; 558 bool m_originalValue;
558 }; 559 };
559 560
560 } // namespace WebCore 561 } // namespace WebCore
561 562
562 #endif // FrameView_h 563 #endif // FrameView_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698