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

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

Issue 758843004: Delete most of rendering/compositing. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const; 96 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const;
97 void setLayoutSize(const IntSize&); 97 void setLayoutSize(const IntSize&);
98 98
99 // If this is set to false, the layout size will need to be explicitly set b y the owner. 99 // If this is set to false, the layout size will need to be explicitly set b y the owner.
100 // E.g. WebViewImpl sets its mainFrame's layout size manually 100 // E.g. WebViewImpl sets its mainFrame's layout size manually
101 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS ize = isFixed; } 101 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS ize = isFixed; }
102 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; } 102 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; }
103 103
104 bool needsFullPaintInvalidation() const { return m_doFullPaintInvalidation; } 104 bool needsFullPaintInvalidation() const { return m_doFullPaintInvalidation; }
105 105
106 void updateAcceleratedCompositingSettings();
107
108 void recalcOverflowAfterStyleChange(); 106 void recalcOverflowAfterStyleChange();
109 107
110 bool isEnclosedInCompositingLayer() const; 108 bool isEnclosedInCompositingLayer() const;
111 109
112 void prepareForDetach(); 110 void prepareForDetach();
113 111
114 void clear(); 112 void clear();
115 113
116 bool isTransparent() const; 114 bool isTransparent() const;
117 void setTransparent(bool isTransparent); 115 void setTransparent(bool isTransparent);
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); 322 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue);
325 } 323 }
326 private: 324 private:
327 FrameView* m_view; 325 FrameView* m_view;
328 bool m_originalValue; 326 bool m_originalValue;
329 }; 327 };
330 328
331 } // namespace blink 329 } // namespace blink
332 330
333 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ 331 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698