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

Side by Side Diff: chrome/browser/ui/panels/panel_constants.h

Issue 10066032: Enable user resizing for docked Panels (GTK and Mac). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor cleanup Created 8 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
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 CHROME_BROWSER_UI_PANELS_PANEL_CONSTANTS_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_CONSTANTS_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_CONSTANTS_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_CONSTANTS_H_
7 #pragma once 7 #pragma once
8 8
9 namespace panel { 9 namespace panel {
10 10
(...skipping 11 matching lines...) Expand all
22 RESIZE_TOP, 22 RESIZE_TOP,
23 RESIZE_TOP_RIGHT, 23 RESIZE_TOP_RIGHT,
24 RESIZE_RIGHT, 24 RESIZE_RIGHT,
25 RESIZE_BOTTOM_RIGHT, 25 RESIZE_BOTTOM_RIGHT,
26 RESIZE_BOTTOM, 26 RESIZE_BOTTOM,
27 RESIZE_BOTTOM_LEFT, 27 RESIZE_BOTTOM_LEFT,
28 RESIZE_LEFT, 28 RESIZE_LEFT,
29 RESIZE_TOP_LEFT 29 RESIZE_TOP_LEFT
30 }; 30 };
31 31
32 // Ways a panel can be resized.
33 enum Resizability {
34 NOT_RESIZABLE,
35 ALL_SIDES,
jianli 2012/04/13 00:52:36 Probably better to suffix with _RESIZABLE.
Dmitry Titov 2012/04/13 02:55:45 Or prefix: RESIZABLE_ALL_SIDES RESIZABLE_ALL_SIDES
jennb 2012/04/13 19:48:04 Done.
36 ALL_SIDES_EXCEPT_BOTTOM
37 };
38
32 } // namespace panel 39 } // namespace panel
33 40
34 #endif // CHROME_BROWSER_UI_PANELS_PANEL_CONSTANTS_H_ 41 #endif // CHROME_BROWSER_UI_PANELS_PANEL_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698