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

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

Issue 962543003: Simplify RenderLayer's handling of filters. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 IntPoint convertFromRenderer(const RenderObject&, const IntPoint&) const; 141 IntPoint convertFromRenderer(const RenderObject&, const IntPoint&) const;
142 IntPoint convertToRenderer(const RenderObject&, const IntPoint&) const; 142 IntPoint convertToRenderer(const RenderObject&, const IntPoint&) const;
143 143
144 bool shouldSetCursor() const; 144 bool shouldSetCursor() const;
145 145
146 void setCursor(const Cursor&); 146 void setCursor(const Cursor&);
147 147
148 // FIXME: Remove this method once plugin loading is decoupled from layout. 148 // FIXME: Remove this method once plugin loading is decoupled from layout.
149 void flushAnyPendingPostLayoutTasks(); 149 void flushAnyPendingPostLayoutTasks();
150 150
151 void setHasSoftwareFilters(bool hasSoftwareFilters) { m_hasSoftwareFilters = hasSoftwareFilters; }
152 bool hasSoftwareFilters() const { return m_hasSoftwareFilters; }
153
154 bool isActive() const; 151 bool isActive() const;
155 152
156 // FIXME: This should probably be renamed as the 'inSubtreeLayout' parameter 153 // FIXME: This should probably be renamed as the 'inSubtreeLayout' parameter
157 // passed around the FrameView layout methods can be true while this returns 154 // passed around the FrameView layout methods can be true while this returns
158 // false. 155 // false.
159 bool isSubtreeLayout() const { return !!m_layoutSubtreeRoot; } 156 bool isSubtreeLayout() const { return !!m_layoutSubtreeRoot; }
160 157
161 // FIXME(sky): remove 158 // FIXME(sky): remove
162 IntPoint windowToContents(const IntPoint& windowPoint) const { return window Point; } 159 IntPoint windowToContents(const IntPoint& windowPoint) const { return window Point; }
163 IntPoint contentsToWindow(const IntPoint& contentsPoint) const { return cont entsPoint; } 160 IntPoint contentsToWindow(const IntPoint& contentsPoint) const { return cont entsPoint; }
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 bool m_layoutSizeFixedToFrameSize; 240 bool m_layoutSizeFixedToFrameSize;
244 241
245 Vector<IntRect> m_tickmarks; 242 Vector<IntRect> m_tickmarks;
246 }; 243 };
247 244
248 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 245 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
249 246
250 } // namespace blink 247 } // namespace blink
251 248
252 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ 249 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/resolver/FilterOperationResolver.cpp ('k') | sky/engine/core/rendering/FilterEffectRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698