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

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

Issue 1456963002: Make browser windows override_redirect when dragging tabs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make browser windows override_redirect when dragging tabs. Created 4 years, 12 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 // 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 #ifndef UI_VIEWS_WIDGET_WIDGET_H_ 5 #ifndef UI_VIEWS_WIDGET_WIDGET_H_
6 #define UI_VIEWS_WIDGET_WIDGET_H_ 6 #define UI_VIEWS_WIDGET_WIDGET_H_
7 7
8 #include <set> 8 #include <set>
9 #include <stack> 9 #include <stack>
10 #include <vector> 10 #include <vector>
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 TYPE_WINDOW_FRAMELESS, 152 TYPE_WINDOW_FRAMELESS,
153 // An undecorated Window. 153 // An undecorated Window.
154 TYPE_CONTROL, // A control, like a button. 154 TYPE_CONTROL, // A control, like a button.
155 TYPE_POPUP, // An undecorated Window, with transient properties. 155 TYPE_POPUP, // An undecorated Window, with transient properties.
156 TYPE_MENU, // An undecorated Window, with transient properties 156 TYPE_MENU, // An undecorated Window, with transient properties
157 // specialized to menus. 157 // specialized to menus.
158 TYPE_TOOLTIP, 158 TYPE_TOOLTIP,
159 TYPE_BUBBLE, 159 TYPE_BUBBLE,
160 TYPE_DRAG, // An undecorated Window, used during a drag-and-drop to 160 TYPE_DRAG, // An undecorated Window, used during a drag-and-drop to
161 // show the drag image. 161 // show the drag image.
162 TYPE_DRAG_BROWSER,
Daniel Erat 2015/12/28 21:33:02 having views know about browser windows seems inco
stapelberg 2016/01/18 17:22:23 Done.
162 }; 163 };
163 164
164 enum WindowOpacity { 165 enum WindowOpacity {
165 // Infer fully opaque or not. For WinAura, top-level windows that are not 166 // Infer fully opaque or not. For WinAura, top-level windows that are not
166 // of TYPE_WINDOW are translucent so that they can be made to fade in. In 167 // of TYPE_WINDOW are translucent so that they can be made to fade in. In
167 // all other cases, windows are fully opaque. 168 // all other cases, windows are fully opaque.
168 INFER_OPACITY, 169 INFER_OPACITY,
169 // Fully opaque. 170 // Fully opaque.
170 OPAQUE_WINDOW, 171 OPAQUE_WINDOW,
171 // Possibly translucent/transparent. 172 // Possibly translucent/transparent.
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 bool movement_disabled_; 957 bool movement_disabled_;
957 958
958 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; 959 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_;
959 960
960 DISALLOW_COPY_AND_ASSIGN(Widget); 961 DISALLOW_COPY_AND_ASSIGN(Widget);
961 }; 962 };
962 963
963 } // namespace views 964 } // namespace views
964 965
965 #endif // UI_VIEWS_WIDGET_WIDGET_H_ 966 #endif // UI_VIEWS_WIDGET_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698