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

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

Issue 187483005: Extending the Views-on-Mac experiment: whole app list grid. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: still compiles r263560 + crrev/195793005 Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « ui/views/widget/native_widget_mac.mm ('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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 // 249 //
250 // If you have any parenting or context information, or can pass that 250 // If you have any parenting or context information, or can pass that
251 // information, prefer the WithParent or WithContext versions of these 251 // information, prefer the WithParent or WithContext versions of these
252 // methods. 252 // methods.
253 static Widget* CreateWindow(WidgetDelegate* delegate); 253 static Widget* CreateWindow(WidgetDelegate* delegate);
254 static Widget* CreateWindowWithBounds(WidgetDelegate* delegate, 254 static Widget* CreateWindowWithBounds(WidgetDelegate* delegate,
255 const gfx::Rect& bounds); 255 const gfx::Rect& bounds);
256 256
257 // Creates a decorated window Widget with the specified properties. 257 // Creates a decorated window Widget with the specified properties.
258 static Widget* CreateWindowWithParent(WidgetDelegate* delegate, 258 static Widget* CreateWindowWithParent(WidgetDelegate* delegate,
259 gfx::NativeWindow parent); 259 gfx::NativeView parent);
260 static Widget* CreateWindowWithParentAndBounds(WidgetDelegate* delegate, 260 static Widget* CreateWindowWithParentAndBounds(WidgetDelegate* delegate,
261 gfx::NativeWindow parent, 261 gfx::NativeView parent,
262 const gfx::Rect& bounds); 262 const gfx::Rect& bounds);
263 263
264 // Creates a decorated window Widget in the same desktop context as |context|. 264 // Creates a decorated window Widget in the same desktop context as |context|.
265 static Widget* CreateWindowWithContext(WidgetDelegate* delegate, 265 static Widget* CreateWindowWithContext(WidgetDelegate* delegate,
266 gfx::NativeView context); 266 gfx::NativeView context);
267 static Widget* CreateWindowWithContextAndBounds(WidgetDelegate* delegate, 267 static Widget* CreateWindowWithContextAndBounds(WidgetDelegate* delegate,
268 gfx::NativeView context, 268 gfx::NativeView context,
269 const gfx::Rect& bounds); 269 const gfx::Rect& bounds);
270 270
271 // Creates an undecorated child window Widget parented to |parent|. 271 // Creates an undecorated child window Widget parented to |parent|.
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 // True when window movement via mouse interaction with the frame should be 905 // True when window movement via mouse interaction with the frame should be
906 // disabled. 906 // disabled.
907 bool movement_disabled_; 907 bool movement_disabled_;
908 908
909 DISALLOW_COPY_AND_ASSIGN(Widget); 909 DISALLOW_COPY_AND_ASSIGN(Widget);
910 }; 910 };
911 911
912 } // namespace views 912 } // namespace views
913 913
914 #endif // UI_VIEWS_WIDGET_WIDGET_H_ 914 #endif // UI_VIEWS_WIDGET_WIDGET_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_mac.mm ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698