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

Side by Side Diff: chrome/browser/ui/view_ids.h

Issue 23531006: Factor out the layout code from OpaqueBrowserFrameView for testing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add string casts to make MSVS happy. Created 7 years, 3 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 | « no previous file | chrome/browser/ui/views/frame/browser_non_client_frame_view.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 // This defines an enumeration of IDs that can uniquely identify a view within 5 // This defines an enumeration of IDs that can uniquely identify a view within
6 // the scope of a container view. 6 // the scope of a container view.
7 7
8 #ifndef CHROME_BROWSER_UI_VIEW_IDS_H_ 8 #ifndef CHROME_BROWSER_UI_VIEW_IDS_H_
9 #define CHROME_BROWSER_UI_VIEW_IDS_H_ 9 #define CHROME_BROWSER_UI_VIEW_IDS_H_
10 10
11 enum ViewID { 11 enum ViewID {
12 VIEW_ID_NONE = 0, 12 VIEW_ID_NONE = 0,
13 13
14 // BROWSER WINDOW VIEWS 14 // BROWSER WINDOW VIEWS
15 // ------------------------------------------------------ 15 // ------------------------------------------------------
16 16
17 // Views which make up the skyline. These are used only
18 // on views.
19 VIEW_ID_MINIMIZE_BUTTON,
20 VIEW_ID_MAXIMIZE_BUTTON,
21 VIEW_ID_RESTORE_BUTTON,
22 VIEW_ID_CLOSE_BUTTON,
23 VIEW_ID_WINDOW_ICON,
24 VIEW_ID_WINDOW_TITLE,
25 VIEW_ID_AVATAR_LABEL,
26 VIEW_ID_AVATAR_BUTTON,
27
17 // Tabs within a window/tab strip, counting from the left. 28 // Tabs within a window/tab strip, counting from the left.
18 VIEW_ID_TAB_0, 29 VIEW_ID_TAB_0,
19 VIEW_ID_TAB_1, 30 VIEW_ID_TAB_1,
20 VIEW_ID_TAB_2, 31 VIEW_ID_TAB_2,
21 VIEW_ID_TAB_3, 32 VIEW_ID_TAB_3,
22 VIEW_ID_TAB_4, 33 VIEW_ID_TAB_4,
23 VIEW_ID_TAB_5, 34 VIEW_ID_TAB_5,
24 VIEW_ID_TAB_6, 35 VIEW_ID_TAB_6,
25 VIEW_ID_TAB_7, 36 VIEW_ID_TAB_7,
26 VIEW_ID_TAB_8, 37 VIEW_ID_TAB_8,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Used in chrome/browser/ui/gtk/view_id_util_browsertest.cc 93 // Used in chrome/browser/ui/gtk/view_id_util_browsertest.cc
83 // If you add new ids, make sure the above test passes. 94 // If you add new ids, make sure the above test passes.
84 VIEW_ID_PREDEFINED_COUNT, 95 VIEW_ID_PREDEFINED_COUNT,
85 96
86 // Plus button on location bar. 97 // Plus button on location bar.
87 VIEW_ID_ACTION_BOX_BUTTON, 98 VIEW_ID_ACTION_BOX_BUTTON,
88 }; 99 };
89 100
90 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_ 101 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_
91 102
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_non_client_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698