OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 10 #pragma once |
(...skipping 27 matching lines...) Expand all Loading... |
38 VIEW_ID_BACK_BUTTON, | 38 VIEW_ID_BACK_BUTTON, |
39 VIEW_ID_FORWARD_BUTTON, | 39 VIEW_ID_FORWARD_BUTTON, |
40 VIEW_ID_RELOAD_BUTTON, | 40 VIEW_ID_RELOAD_BUTTON, |
41 VIEW_ID_HOME_BUTTON, | 41 VIEW_ID_HOME_BUTTON, |
42 VIEW_ID_STAR_BUTTON, | 42 VIEW_ID_STAR_BUTTON, |
43 VIEW_ID_LOCATION_BAR, | 43 VIEW_ID_LOCATION_BAR, |
44 VIEW_ID_APP_MENU, | 44 VIEW_ID_APP_MENU, |
45 VIEW_ID_AUTOCOMPLETE, | 45 VIEW_ID_AUTOCOMPLETE, |
46 VIEW_ID_BROWSER_ACTION_TOOLBAR, | 46 VIEW_ID_BROWSER_ACTION_TOOLBAR, |
47 VIEW_ID_FEEDBACK_BUTTON, | 47 VIEW_ID_FEEDBACK_BUTTON, |
| 48 VIEW_ID_OMNIBOX, |
48 | 49 |
49 // The Bookmark Bar. | 50 // The Bookmark Bar. |
50 VIEW_ID_BOOKMARK_BAR, | 51 VIEW_ID_BOOKMARK_BAR, |
51 VIEW_ID_OTHER_BOOKMARKS, | 52 VIEW_ID_OTHER_BOOKMARKS, |
52 // Used for bookmarks/folders on the bookmark bar. | 53 // Used for bookmarks/folders on the bookmark bar. |
53 VIEW_ID_BOOKMARK_BAR_ELEMENT, | 54 VIEW_ID_BOOKMARK_BAR_ELEMENT, |
54 | 55 |
55 // Find in page. | 56 // Find in page. |
56 VIEW_ID_FIND_IN_PAGE_TEXT_FIELD, | 57 VIEW_ID_FIND_IN_PAGE_TEXT_FIELD, |
57 VIEW_ID_FIND_IN_PAGE, | 58 VIEW_ID_FIND_IN_PAGE, |
(...skipping 20 matching lines...) Expand all Loading... |
78 // The sidebar split. | 79 // The sidebar split. |
79 VIEW_ID_SIDE_BAR_SPLIT, | 80 VIEW_ID_SIDE_BAR_SPLIT, |
80 | 81 |
81 // Used in chrome/browser/ui/gtk/view_id_util_browsertests.cc | 82 // Used in chrome/browser/ui/gtk/view_id_util_browsertests.cc |
82 // If you add new ids, make sure the above test passes. | 83 // If you add new ids, make sure the above test passes. |
83 VIEW_ID_PREDEFINED_COUNT | 84 VIEW_ID_PREDEFINED_COUNT |
84 }; | 85 }; |
85 | 86 |
86 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_ | 87 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_ |
87 | 88 |
OLD | NEW |