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

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

Issue 865153004: Remove dead code related to compositing from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const; 93 IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const;
94 void setLayoutSize(const IntSize&); 94 void setLayoutSize(const IntSize&);
95 95
96 // If this is set to false, the layout size will need to be explicitly set b y the owner. 96 // If this is set to false, the layout size will need to be explicitly set b y the owner.
97 // E.g. WebViewImpl sets its mainFrame's layout size manually 97 // E.g. WebViewImpl sets its mainFrame's layout size manually
98 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS ize = isFixed; } 98 void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameS ize = isFixed; }
99 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; } 99 bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; }
100 100
101 void recalcOverflowAfterStyleChange(); 101 void recalcOverflowAfterStyleChange();
102 102
103 bool isEnclosedInCompositingLayer() const;
104
105 void prepareForDetach(); 103 void prepareForDetach();
106 104
107 void clear(); 105 void clear();
108 106
109 bool isTransparent() const; 107 bool isTransparent() const;
110 void setTransparent(bool isTransparent); 108 void setTransparent(bool isTransparent);
111 109
112 Color baseBackgroundColor() const; 110 Color baseBackgroundColor() const;
113 void setBaseBackgroundColor(const Color&); 111 void setBaseBackgroundColor(const Color&);
114 void updateBackgroundRecursively(const Color&, bool); 112 void updateBackgroundRecursively(const Color&, bool);
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 bool m_layoutSizeFixedToFrameSize; 252 bool m_layoutSizeFixedToFrameSize;
255 253
256 Vector<IntRect> m_tickmarks; 254 Vector<IntRect> m_tickmarks;
257 }; 255 };
258 256
259 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 257 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
260 258
261 } // namespace blink 259 } // namespace blink
262 260
263 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ 261 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698