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

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

Issue 231883003: [stash] 20140404-crbug-312961-mac-views-bridge-C-wholegrid Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« 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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 // 248 //
249 // If you have any parenting or context information, or can pass that 249 // If you have any parenting or context information, or can pass that
250 // information, prefer the WithParent or WithContext versions of these 250 // information, prefer the WithParent or WithContext versions of these
251 // methods. 251 // methods.
252 static Widget* CreateWindow(WidgetDelegate* delegate); 252 static Widget* CreateWindow(WidgetDelegate* delegate);
253 static Widget* CreateWindowWithBounds(WidgetDelegate* delegate, 253 static Widget* CreateWindowWithBounds(WidgetDelegate* delegate,
254 const gfx::Rect& bounds); 254 const gfx::Rect& bounds);
255 255
256 // Creates a decorated window Widget with the specified properties. 256 // Creates a decorated window Widget with the specified properties.
257 static Widget* CreateWindowWithParent(WidgetDelegate* delegate, 257 static Widget* CreateWindowWithParent(WidgetDelegate* delegate,
258 gfx::NativeWindow parent); 258 gfx::NativeView parent);
259 static Widget* CreateWindowWithParentAndBounds(WidgetDelegate* delegate, 259 static Widget* CreateWindowWithParentAndBounds(WidgetDelegate* delegate,
260 gfx::NativeWindow parent, 260 gfx::NativeView parent,
261 const gfx::Rect& bounds); 261 const gfx::Rect& bounds);
262 262
263 // Creates a decorated window Widget in the same desktop context as |context|. 263 // Creates a decorated window Widget in the same desktop context as |context|.
264 static Widget* CreateWindowWithContext(WidgetDelegate* delegate, 264 static Widget* CreateWindowWithContext(WidgetDelegate* delegate,
265 gfx::NativeView context); 265 gfx::NativeView context);
266 static Widget* CreateWindowWithContextAndBounds(WidgetDelegate* delegate, 266 static Widget* CreateWindowWithContextAndBounds(WidgetDelegate* delegate,
267 gfx::NativeView context, 267 gfx::NativeView context,
268 const gfx::Rect& bounds); 268 const gfx::Rect& bounds);
269 269
270 // Creates an undecorated child window Widget parented to |parent|. 270 // Creates an undecorated child window Widget parented to |parent|.
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 // True when window movement via mouse interaction with the frame should be 894 // True when window movement via mouse interaction with the frame should be
895 // disabled. 895 // disabled.
896 bool movement_disabled_; 896 bool movement_disabled_;
897 897
898 DISALLOW_COPY_AND_ASSIGN(Widget); 898 DISALLOW_COPY_AND_ASSIGN(Widget);
899 }; 899 };
900 900
901 } // namespace views 901 } // namespace views
902 902
903 #endif // UI_VIEWS_WIDGET_WIDGET_H_ 903 #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