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

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

Issue 83783003: linux aura: Show the drag-image when available. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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 | Annotate | Revision Log
« no previous file with comments | « ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 TYPE_PANEL, // Always on top window managed by PanelManager. 133 TYPE_PANEL, // Always on top window managed by PanelManager.
134 // Widgets of TYPE_PANEL will have a NonClientView. 134 // Widgets of TYPE_PANEL will have a NonClientView.
135 TYPE_WINDOW_FRAMELESS, 135 TYPE_WINDOW_FRAMELESS,
136 // An undecorated Window. 136 // An undecorated Window.
137 TYPE_CONTROL, // A control, like a button. 137 TYPE_CONTROL, // A control, like a button.
138 TYPE_POPUP, // An undecorated Window, with transient properties. 138 TYPE_POPUP, // An undecorated Window, with transient properties.
139 TYPE_MENU, // An undecorated Window, with transient properties 139 TYPE_MENU, // An undecorated Window, with transient properties
140 // specialized to menus. 140 // specialized to menus.
141 TYPE_TOOLTIP, 141 TYPE_TOOLTIP,
142 TYPE_BUBBLE, 142 TYPE_BUBBLE,
143 TYPE_DRAG, // An undecorated Window, used during a drag-and-drop to
144 // show the drag image.
143 }; 145 };
144 146
145 enum WindowOpacity { 147 enum WindowOpacity {
146 // Infer fully opaque or not. For WinAura, top-level windows that are not 148 // Infer fully opaque or not. For WinAura, top-level windows that are not
147 // of TYPE_WINDOW are translucent so that they can be made to fade in. In 149 // of TYPE_WINDOW are translucent so that they can be made to fade in. In
148 // all other cases, windows are fully opaque. 150 // all other cases, windows are fully opaque.
149 INFER_OPACITY, 151 INFER_OPACITY,
150 // Fully opaque. 152 // Fully opaque.
151 OPAQUE_WINDOW, 153 OPAQUE_WINDOW,
152 // Possibly translucent/transparent. 154 // Possibly translucent/transparent.
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 // True when window movement via mouse interaction with the frame should be 891 // True when window movement via mouse interaction with the frame should be
890 // disabled. 892 // disabled.
891 bool movement_disabled_; 893 bool movement_disabled_;
892 894
893 DISALLOW_COPY_AND_ASSIGN(Widget); 895 DISALLOW_COPY_AND_ASSIGN(Widget);
894 }; 896 };
895 897
896 } // namespace views 898 } // namespace views
897 899
898 #endif // UI_VIEWS_WIDGET_WIDGET_H_ 900 #endif // UI_VIEWS_WIDGET_WIDGET_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698