| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_VIEW_IDS_H_ | 8 #ifndef CHROME_BROWSER_VIEW_IDS_H_ |
| 9 #define CHROME_BROWSER_VIEW_IDS_H_ | 9 #define CHROME_BROWSER_VIEW_IDS_H_ |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 VIEW_ID_TOOLBAR = 1000, | 35 VIEW_ID_TOOLBAR = 1000, |
| 36 VIEW_ID_BACK_BUTTON, | 36 VIEW_ID_BACK_BUTTON, |
| 37 VIEW_ID_FORWARD_BUTTON, | 37 VIEW_ID_FORWARD_BUTTON, |
| 38 VIEW_ID_RELOAD_BUTTON, | 38 VIEW_ID_RELOAD_BUTTON, |
| 39 VIEW_ID_HOME_BUTTON, | 39 VIEW_ID_HOME_BUTTON, |
| 40 VIEW_ID_STAR_BUTTON, | 40 VIEW_ID_STAR_BUTTON, |
| 41 VIEW_ID_LOCATION_BAR, | 41 VIEW_ID_LOCATION_BAR, |
| 42 VIEW_ID_PAGE_MENU, | 42 VIEW_ID_PAGE_MENU, |
| 43 VIEW_ID_APP_MENU, | 43 VIEW_ID_APP_MENU, |
| 44 VIEW_ID_AUTOCOMPLETE, | 44 VIEW_ID_AUTOCOMPLETE, |
| 45 VIEW_ID_BOOKMARK_MENU, | |
| 46 VIEW_ID_BROWSER_ACTION_TOOLBAR, | 45 VIEW_ID_BROWSER_ACTION_TOOLBAR, |
| 47 | 46 |
| 48 // The Bookmark Bar. | 47 // The Bookmark Bar. |
| 49 VIEW_ID_BOOKMARK_BAR, | 48 VIEW_ID_BOOKMARK_BAR, |
| 50 VIEW_ID_OTHER_BOOKMARKS, | 49 VIEW_ID_OTHER_BOOKMARKS, |
| 51 // Used for bookmarks/folders on the bookmark bar. | 50 // Used for bookmarks/folders on the bookmark bar. |
| 52 VIEW_ID_BOOKMARK_BAR_ELEMENT, | 51 VIEW_ID_BOOKMARK_BAR_ELEMENT, |
| 53 | 52 |
| 54 // Find in page. | 53 // Find in page. |
| 55 VIEW_ID_FIND_IN_PAGE_TEXT_FIELD, | 54 VIEW_ID_FIND_IN_PAGE_TEXT_FIELD, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 73 | 72 |
| 74 // The Download shelf. | 73 // The Download shelf. |
| 75 VIEW_ID_DOWNLOAD_SHELF, | 74 VIEW_ID_DOWNLOAD_SHELF, |
| 76 | 75 |
| 77 // Used in chrome/browser/gtk/view_id_util_browsertests.cc | 76 // Used in chrome/browser/gtk/view_id_util_browsertests.cc |
| 78 // If you add new ids, make sure the above test passes. | 77 // If you add new ids, make sure the above test passes. |
| 79 VIEW_ID_PREDEFINED_COUNT | 78 VIEW_ID_PREDEFINED_COUNT |
| 80 }; | 79 }; |
| 81 | 80 |
| 82 #endif // CHROME_BROWSER_VIEW_IDS_H_ | 81 #endif // CHROME_BROWSER_VIEW_IDS_H_ |
| OLD | NEW |