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

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

Issue 856563006: Remove background obscuration checks. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 bool isEnclosedInCompositingLayer() const; 103 bool isEnclosedInCompositingLayer() const;
104 104
105 void prepareForDetach(); 105 void prepareForDetach();
106 106
107 void clear(); 107 void clear();
108 108
109 bool isTransparent() const; 109 bool isTransparent() const;
110 void setTransparent(bool isTransparent); 110 void setTransparent(bool isTransparent);
111 111
112 // True if the FrameView is not transparent, and the base background color i s opaque.
113 bool hasOpaqueBackground() const;
114
115 Color baseBackgroundColor() const; 112 Color baseBackgroundColor() const;
116 void setBaseBackgroundColor(const Color&); 113 void setBaseBackgroundColor(const Color&);
117 void updateBackgroundRecursively(const Color&, bool); 114 void updateBackgroundRecursively(const Color&, bool);
118 115
119 IntRect windowClipRect(IncludeScrollbarsInRect = ExcludeScrollbars) const; 116 IntRect windowClipRect(IncludeScrollbarsInRect = ExcludeScrollbars) const;
120 117
121 float visibleContentScaleFactor() const { return m_visibleContentScaleFactor ; } 118 float visibleContentScaleFactor() const { return m_visibleContentScaleFactor ; }
122 void setVisibleContentScaleFactor(float); 119 void setVisibleContentScaleFactor(float);
123 120
124 float inputEventsScaleFactor() const; 121 float inputEventsScaleFactor() const;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 bool m_layoutSizeFixedToFrameSize; 267 bool m_layoutSizeFixedToFrameSize;
271 268
272 Vector<IntRect> m_tickmarks; 269 Vector<IntRect> m_tickmarks;
273 }; 270 };
274 271
275 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView()); 272 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra meView());
276 273
277 } // namespace blink 274 } // namespace blink
278 275
279 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ 276 #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