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

Side by Side Diff: ui/views/widget/widget.cc

Issue 2596743002: Replace WM shadow types (on/off) and styles (small/inactive/active) (Closed)
Patch Set: . Created 4 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/views/widget/widget.h" 5 #include "ui/views/widget/widget.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 delegate(nullptr), 118 delegate(nullptr),
119 child(false), 119 child(false),
120 opacity(INFER_OPACITY), 120 opacity(INFER_OPACITY),
121 accept_events(true), 121 accept_events(true),
122 activatable(ACTIVATABLE_DEFAULT), 122 activatable(ACTIVATABLE_DEFAULT),
123 keep_on_top(type == TYPE_MENU || type == TYPE_DRAG), 123 keep_on_top(type == TYPE_MENU || type == TYPE_DRAG),
124 visible_on_all_workspaces(false), 124 visible_on_all_workspaces(false),
125 ownership(NATIVE_WIDGET_OWNS_WIDGET), 125 ownership(NATIVE_WIDGET_OWNS_WIDGET),
126 mirror_origin_in_rtl(false), 126 mirror_origin_in_rtl(false),
127 shadow_type(SHADOW_TYPE_DEFAULT), 127 shadow_type(SHADOW_TYPE_DEFAULT),
128 shadow_elevation(-1),
128 remove_standard_frame(false), 129 remove_standard_frame(false),
129 use_system_default_icon(false), 130 use_system_default_icon(false),
130 show_state(ui::SHOW_STATE_DEFAULT), 131 show_state(ui::SHOW_STATE_DEFAULT),
131 parent(nullptr), 132 parent(nullptr),
132 native_widget(nullptr), 133 native_widget(nullptr),
133 desktop_window_tree_host(nullptr), 134 desktop_window_tree_host(nullptr),
134 layer_type(ui::LAYER_TEXTURED), 135 layer_type(ui::LAYER_TEXTURED),
135 context(nullptr), 136 context(nullptr),
136 force_show_in_taskbar(false), 137 force_show_in_taskbar(false),
137 force_software_compositing(false) {} 138 force_software_compositing(false) {}
(...skipping 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after
1490 1491
1491 //////////////////////////////////////////////////////////////////////////////// 1492 ////////////////////////////////////////////////////////////////////////////////
1492 // internal::NativeWidgetPrivate, NativeWidget implementation: 1493 // internal::NativeWidgetPrivate, NativeWidget implementation:
1493 1494
1494 internal::NativeWidgetPrivate* NativeWidgetPrivate::AsNativeWidgetPrivate() { 1495 internal::NativeWidgetPrivate* NativeWidgetPrivate::AsNativeWidgetPrivate() {
1495 return this; 1496 return this;
1496 } 1497 }
1497 1498
1498 } // namespace internal 1499 } // namespace internal
1499 } // namespace views 1500 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698