OLD | NEW |
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 |
(...skipping 23 matching lines...) Expand all Loading... |
34 | 34 |
35 // Toolbar & toolbar elements. | 35 // Toolbar & toolbar elements. |
36 VIEW_ID_TOOLBAR = 1000, | 36 VIEW_ID_TOOLBAR = 1000, |
37 VIEW_ID_BACK_BUTTON, | 37 VIEW_ID_BACK_BUTTON, |
38 VIEW_ID_FORWARD_BUTTON, | 38 VIEW_ID_FORWARD_BUTTON, |
39 VIEW_ID_RELOAD_BUTTON, | 39 VIEW_ID_RELOAD_BUTTON, |
40 VIEW_ID_HOME_BUTTON, | 40 VIEW_ID_HOME_BUTTON, |
41 VIEW_ID_STAR_BUTTON, | 41 VIEW_ID_STAR_BUTTON, |
42 VIEW_ID_LOCATION_BAR, | 42 VIEW_ID_LOCATION_BAR, |
43 VIEW_ID_APP_MENU, | 43 VIEW_ID_APP_MENU, |
44 VIEW_ID_AUTOCOMPLETE, | |
45 VIEW_ID_BROWSER_ACTION_TOOLBAR, | 44 VIEW_ID_BROWSER_ACTION_TOOLBAR, |
46 VIEW_ID_FEEDBACK_BUTTON, | 45 VIEW_ID_FEEDBACK_BUTTON, |
47 VIEW_ID_OMNIBOX, | 46 VIEW_ID_OMNIBOX, |
48 VIEW_ID_SCRIPT_BUBBLE, | 47 VIEW_ID_SCRIPT_BUBBLE, |
49 | 48 |
50 // The Bookmark Bar. | 49 // The Bookmark Bar. |
51 VIEW_ID_BOOKMARK_BAR, | 50 VIEW_ID_BOOKMARK_BAR, |
52 VIEW_ID_OTHER_BOOKMARKS, | 51 VIEW_ID_OTHER_BOOKMARKS, |
53 // Used for bookmarks/folders on the bookmark bar. | 52 // Used for bookmarks/folders on the bookmark bar. |
54 VIEW_ID_BOOKMARK_BAR_ELEMENT, | 53 VIEW_ID_BOOKMARK_BAR_ELEMENT, |
(...skipping 26 matching lines...) Expand all Loading... |
81 // Used in chrome/browser/ui/gtk/view_id_util_browsertests.cc | 80 // Used in chrome/browser/ui/gtk/view_id_util_browsertests.cc |
82 // If you add new ids, make sure the above test passes. | 81 // If you add new ids, make sure the above test passes. |
83 VIEW_ID_PREDEFINED_COUNT, | 82 VIEW_ID_PREDEFINED_COUNT, |
84 | 83 |
85 // Plus button on location bar. | 84 // Plus button on location bar. |
86 VIEW_ID_ACTION_BOX_BUTTON, | 85 VIEW_ID_ACTION_BOX_BUTTON, |
87 }; | 86 }; |
88 | 87 |
89 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_ | 88 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_ |
90 | 89 |
OLD | NEW |