Lines Matching refs:style
2 // Use of this source code is governed by a BSD-style license that can be
27 float GetOpacityForStyle(views::corewm::Shadow::Style style) {
28 switch (style) {
39 int GetInteriorInsetForStyle(views::corewm::Shadow::Style style) {
40 switch (style) {
62 void Shadow::Init(Style style) {
63 style_ = style;
79 void Shadow::SetStyle(Style style) {
80 if (style_ == style)
84 style_ = style;
89 // If we're switching to or from the small style, don't bother with
91 if (style == STYLE_SMALL || old_style == STYLE_SMALL) {
93 image_grid_->layer()->SetOpacity(GetOpacityForStyle(style));
100 if (style == STYLE_ACTIVE) {
120 NOTREACHED() << "Unhandled style " << style_;
176 NOTREACHED() << "Unhandled style " << style_;
180 // Update interior inset for style.