| 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 12 matching lines...) Expand all Loading... |
| 23 VIEW_ID_TAB_5, | 23 VIEW_ID_TAB_5, |
| 24 VIEW_ID_TAB_6, | 24 VIEW_ID_TAB_6, |
| 25 VIEW_ID_TAB_7, | 25 VIEW_ID_TAB_7, |
| 26 VIEW_ID_TAB_8, | 26 VIEW_ID_TAB_8, |
| 27 VIEW_ID_TAB_9, | 27 VIEW_ID_TAB_9, |
| 28 VIEW_ID_TAB_LAST, | 28 VIEW_ID_TAB_LAST, |
| 29 | 29 |
| 30 // ID for any tab. Currently only used on views. | 30 // ID for any tab. Currently only used on views. |
| 31 VIEW_ID_TAB, | 31 VIEW_ID_TAB, |
| 32 | 32 |
| 33 VIEW_ID_EXTENSION_APP_ICON, | |
| 34 VIEW_ID_EXTENSION_APP_TITLE, | |
| 35 VIEW_ID_TAB_STRIP, | 33 VIEW_ID_TAB_STRIP, |
| 36 | 34 |
| 37 // Toolbar & toolbar elements. | 35 // Toolbar & toolbar elements. |
| 38 VIEW_ID_TOOLBAR = 1000, | 36 VIEW_ID_TOOLBAR = 1000, |
| 39 VIEW_ID_BACK_BUTTON, | 37 VIEW_ID_BACK_BUTTON, |
| 40 VIEW_ID_FORWARD_BUTTON, | 38 VIEW_ID_FORWARD_BUTTON, |
| 41 VIEW_ID_RELOAD_BUTTON, | 39 VIEW_ID_RELOAD_BUTTON, |
| 42 VIEW_ID_HOME_BUTTON, | 40 VIEW_ID_HOME_BUTTON, |
| 43 VIEW_ID_STAR_BUTTON, | 41 VIEW_ID_STAR_BUTTON, |
| 44 VIEW_ID_LOCATION_BAR, | 42 VIEW_ID_LOCATION_BAR, |
| (...skipping 29 matching lines...) Expand all Loading... |
| 74 | 72 |
| 75 // The Download shelf. | 73 // The Download shelf. |
| 76 VIEW_ID_DOWNLOAD_SHELF, | 74 VIEW_ID_DOWNLOAD_SHELF, |
| 77 | 75 |
| 78 // Used in chrome/browser/gtk/view_id_util_browsertests.cc | 76 // Used in chrome/browser/gtk/view_id_util_browsertests.cc |
| 79 // If you add new ids, make sure the above test passes. | 77 // If you add new ids, make sure the above test passes. |
| 80 VIEW_ID_PREDEFINED_COUNT | 78 VIEW_ID_PREDEFINED_COUNT |
| 81 }; | 79 }; |
| 82 | 80 |
| 83 #endif // CHROME_BROWSER_VIEW_IDS_H_ | 81 #endif // CHROME_BROWSER_VIEW_IDS_H_ |
| OLD | NEW |