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 #pragma once | 10 #pragma once |
(...skipping 28 matching lines...) Expand all Loading... |
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 VIEW_ID_OMNIBOX, |
| 49 VIEW_ID_CHROME_TO_MOBILE_BUTTON, |
49 | 50 |
50 // The Bookmark Bar. | 51 // The Bookmark Bar. |
51 VIEW_ID_BOOKMARK_BAR, | 52 VIEW_ID_BOOKMARK_BAR, |
52 VIEW_ID_OTHER_BOOKMARKS, | 53 VIEW_ID_OTHER_BOOKMARKS, |
53 // Used for bookmarks/folders on the bookmark bar. | 54 // Used for bookmarks/folders on the bookmark bar. |
54 VIEW_ID_BOOKMARK_BAR_ELEMENT, | 55 VIEW_ID_BOOKMARK_BAR_ELEMENT, |
55 | 56 |
56 // Find in page. | 57 // Find in page. |
57 VIEW_ID_FIND_IN_PAGE_TEXT_FIELD, | 58 VIEW_ID_FIND_IN_PAGE_TEXT_FIELD, |
58 VIEW_ID_FIND_IN_PAGE, | 59 VIEW_ID_FIND_IN_PAGE, |
(...skipping 14 matching lines...) Expand all Loading... |
73 // The Download shelf. | 74 // The Download shelf. |
74 VIEW_ID_DOWNLOAD_SHELF, | 75 VIEW_ID_DOWNLOAD_SHELF, |
75 | 76 |
76 // Used in chrome/browser/ui/gtk/view_id_util_browsertests.cc | 77 // Used in chrome/browser/ui/gtk/view_id_util_browsertests.cc |
77 // If you add new ids, make sure the above test passes. | 78 // If you add new ids, make sure the above test passes. |
78 VIEW_ID_PREDEFINED_COUNT | 79 VIEW_ID_PREDEFINED_COUNT |
79 }; | 80 }; |
80 | 81 |
81 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_ | 82 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_ |
82 | 83 |
OLD | NEW |