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

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

Issue 202683005: optimizing layout performance when only transform3d matrix changed by Base URL: http://src.chromium.org/blink/trunk/
Patch Set: Created 6 years, 9 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
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const; 106 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const;
107 void setLayoutSize(const IntSize&); 107 void setLayoutSize(const IntSize&);
108 108
109 // If this is set to false, the layout size will need to be explicitly set b y the owner. 109 // If this is set to false, the layout size will need to be explicitly set b y the owner.
110 // E.g. WebViewImpl sets its mainFrame's layout size manually 110 // E.g. WebViewImpl sets its mainFrame's layout size manually
111 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS ize = isFixed; } 111 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS ize = isFixed; }
112 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; } 112 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; }
113 113
114 bool needsFullRepaint() const { return m_doFullRepaint; } 114 bool needsFullRepaint() const { return m_doFullRepaint; }
115 115
116 void updateCompositingLayersAfterStyleChange(); 116 void updateCompositingLayersAfterStyleChange(bool fast = false);
117 void updateCompositingLayersAfterLayout(); 117 void updateCompositingLayersAfterLayout();
118 118
119 bool hasCompositedContent() const; 119 bool hasCompositedContent() const;
120 bool isEnclosedInCompositingLayer() const; 120 bool isEnclosedInCompositingLayer() const;
121 121
122 void resetScrollbars(); 122 void resetScrollbars();
123 void prepareForDetach(); 123 void prepareForDetach();
124 void detachCustomScrollbars(); 124 void detachCustomScrollbars();
125 virtual void recalculateScrollbarOverlayStyle(); 125 virtual void recalculateScrollbarOverlayStyle();
126 126
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 m_view->setCanRepaintDuringPerformLayout(m_originalValue); 554 m_view->setCanRepaintDuringPerformLayout(m_originalValue);
555 } 555 }
556 private: 556 private:
557 FrameView* m_view; 557 FrameView* m_view;
558 bool m_originalValue; 558 bool m_originalValue;
559 }; 559 };
560 560
561 } // namespace WebCore 561 } // namespace WebCore
562 562
563 #endif // FrameView_h 563 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698