| OLD | NEW |
| 1 // Copyright (c) 2010 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_VIEW_IDS_H_ | 8 #ifndef CHROME_BROWSER_UI_VIEW_IDS_H_ |
| 9 #define CHROME_BROWSER_VIEW_IDS_H_ | 9 #define CHROME_BROWSER_UI_VIEW_IDS_H_ |
| 10 #pragma once | 10 #pragma once |
| 11 | 11 |
| 12 enum ViewID { | 12 enum ViewID { |
| 13 VIEW_ID_NONE = 0, | 13 VIEW_ID_NONE = 0, |
| 14 | 14 |
| 15 // BROWSER WINDOW VIEWS | 15 // BROWSER WINDOW VIEWS |
| 16 // ------------------------------------------------------ | 16 // ------------------------------------------------------ |
| 17 | 17 |
| 18 // Tabs within a window/tab strip, counting from the left. | 18 // Tabs within a window/tab strip, counting from the left. |
| 19 VIEW_ID_TAB_0, | 19 VIEW_ID_TAB_0, |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 // The Download shelf. | 72 // The Download shelf. |
| 73 VIEW_ID_DOWNLOAD_SHELF, | 73 VIEW_ID_DOWNLOAD_SHELF, |
| 74 | 74 |
| 75 // The Sidebar container. | 75 // The Sidebar container. |
| 76 VIEW_ID_SIDE_BAR_CONTAINER, | 76 VIEW_ID_SIDE_BAR_CONTAINER, |
| 77 | 77 |
| 78 // The sidebar split. | 78 // The sidebar split. |
| 79 VIEW_ID_SIDE_BAR_SPLIT, | 79 VIEW_ID_SIDE_BAR_SPLIT, |
| 80 | 80 |
| 81 // Used in chrome/browser/gtk/view_id_util_browsertests.cc | 81 // Used in chrome/browser/ui/gtk/view_id_util_browsertests.cc |
| 82 // If you add new ids, make sure the above test passes. | 82 // If you add new ids, make sure the above test passes. |
| 83 VIEW_ID_PREDEFINED_COUNT | 83 VIEW_ID_PREDEFINED_COUNT |
| 84 }; | 84 }; |
| 85 | 85 |
| 86 #endif // CHROME_BROWSER_VIEW_IDS_H_ | 86 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_ |
| OLD | NEW |