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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 // Toolbar & toolbar elements. | 47 // Toolbar & toolbar elements. |
48 VIEW_ID_TOOLBAR = 1000, | 48 VIEW_ID_TOOLBAR = 1000, |
49 VIEW_ID_BACK_BUTTON, | 49 VIEW_ID_BACK_BUTTON, |
50 VIEW_ID_FORWARD_BUTTON, | 50 VIEW_ID_FORWARD_BUTTON, |
51 VIEW_ID_RELOAD_BUTTON, | 51 VIEW_ID_RELOAD_BUTTON, |
52 VIEW_ID_HOME_BUTTON, | 52 VIEW_ID_HOME_BUTTON, |
53 VIEW_ID_STAR_BUTTON, | 53 VIEW_ID_STAR_BUTTON, |
54 VIEW_ID_APP_MENU, | 54 VIEW_ID_APP_MENU, |
55 VIEW_ID_BROWSER_ACTION_TOOLBAR, | 55 VIEW_ID_BROWSER_ACTION_TOOLBAR, |
| 56 VIEW_ID_BROWSER_ACTION, |
56 VIEW_ID_FEEDBACK_BUTTON, | 57 VIEW_ID_FEEDBACK_BUTTON, |
57 VIEW_ID_OMNIBOX, | 58 VIEW_ID_OMNIBOX, |
58 VIEW_ID_SCRIPT_BUBBLE, | 59 VIEW_ID_SCRIPT_BUBBLE, |
59 VIEW_ID_TRANSLATE_BUTTON, | 60 VIEW_ID_TRANSLATE_BUTTON, |
60 | 61 |
61 // The Bookmark Bar. | 62 // The Bookmark Bar. |
62 VIEW_ID_BOOKMARK_BAR, | 63 VIEW_ID_BOOKMARK_BAR, |
63 VIEW_ID_OTHER_BOOKMARKS, | 64 VIEW_ID_OTHER_BOOKMARKS, |
64 // Used for bookmarks/folders on the bookmark bar. | 65 // Used for bookmarks/folders on the bookmark bar. |
65 VIEW_ID_BOOKMARK_BAR_ELEMENT, | 66 VIEW_ID_BOOKMARK_BAR_ELEMENT, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 100 |
100 // Used in chrome/browser/ui/gtk/view_id_util_browsertest.cc | 101 // Used in chrome/browser/ui/gtk/view_id_util_browsertest.cc |
101 // If you add new ids, make sure the above test passes. | 102 // If you add new ids, make sure the above test passes. |
102 VIEW_ID_PREDEFINED_COUNT, | 103 VIEW_ID_PREDEFINED_COUNT, |
103 | 104 |
104 // Plus button on location bar. | 105 // Plus button on location bar. |
105 VIEW_ID_ACTION_BOX_BUTTON, | 106 VIEW_ID_ACTION_BOX_BUTTON, |
106 }; | 107 }; |
107 | 108 |
108 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_ | 109 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_ |
OLD | NEW |