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

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

Issue 10967036: views: Packaged app window icon should be system/generic icon, if icon is not set by default. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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 | « ui/views/widget/native_widget_win.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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 bool accept_events; 157 bool accept_events;
158 bool can_activate; 158 bool can_activate;
159 bool keep_on_top; 159 bool keep_on_top;
160 Ownership ownership; 160 Ownership ownership;
161 bool mirror_origin_in_rtl; 161 bool mirror_origin_in_rtl;
162 bool has_dropshadow; 162 bool has_dropshadow;
163 // Only used by NativeWidgetWin. Specifies that the system default caption 163 // Only used by NativeWidgetWin. Specifies that the system default caption
164 // and icon should not be rendered, and that the client area should be 164 // and icon should not be rendered, and that the client area should be
165 // equivalent to the window area. 165 // equivalent to the window area.
166 bool remove_standard_frame; 166 bool remove_standard_frame;
167 // Only used by ShellWindow on Windows. Specifies that the default icon of
168 // packaged app should be the system default icon.
169 bool use_system_default_icon;
167 // Whether the widget should be maximized or minimized. 170 // Whether the widget should be maximized or minimized.
168 ui::WindowShowState show_state; 171 ui::WindowShowState show_state;
169 // Should the widget be double buffered? Default is false. 172 // Should the widget be double buffered? Default is false.
170 bool double_buffer; 173 bool double_buffer;
171 gfx::NativeView parent; 174 gfx::NativeView parent;
172 Widget* parent_widget; 175 Widget* parent_widget;
173 // Specifies the initial bounds of the Widget. Default is empty, which means 176 // Specifies the initial bounds of the Widget. Default is empty, which means
174 // the NativeWidget may specify a default size. If the parent is specified, 177 // the NativeWidget may specify a default size. If the parent is specified,
175 // |bounds| is in the parent's coordinate system. If the parent is not 178 // |bounds| is in the parent's coordinate system. If the parent is not
176 // specified, it's in screen's global coordinate system. 179 // specified, it's in screen's global coordinate system.
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 794
792 // Is |root_layers_| out of date? 795 // Is |root_layers_| out of date?
793 bool root_layers_dirty_; 796 bool root_layers_dirty_;
794 797
795 DISALLOW_COPY_AND_ASSIGN(Widget); 798 DISALLOW_COPY_AND_ASSIGN(Widget);
796 }; 799 };
797 800
798 } // namespace views 801 } // namespace views
799 802
800 #endif // UI_VIEWS_WIDGET_WIDGET_H_ 803 #endif // UI_VIEWS_WIDGET_WIDGET_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_win.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698