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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 // The contents split. | 66 // The contents split. |
67 VIEW_ID_CONTENTS_SPLIT, | 67 VIEW_ID_CONTENTS_SPLIT, |
68 | 68 |
69 // The Infobar container. | 69 // The Infobar container. |
70 VIEW_ID_INFO_BAR_CONTAINER, | 70 VIEW_ID_INFO_BAR_CONTAINER, |
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_SIDEBAR_CONTAINER, |
77 | |
78 // The sidebar split. | 77 // The sidebar split. |
79 VIEW_ID_SIDE_BAR_SPLIT, | 78 VIEW_ID_SIDEBAR_SPLIT, |
| 79 // Sidebar's tabs and tab strip. |
| 80 VIEW_ID_SIDEBAR_TAB, |
| 81 VIEW_ID_SIDEBAR_TAB_STRIP, |
80 | 82 |
81 // Used in chrome/browser/ui/gtk/view_id_util_browsertests.cc | 83 // Used in chrome/browser/ui/gtk/view_id_util_browsertests.cc |
82 // If you add new ids, make sure the above test passes. | 84 // If you add new ids, make sure the above test passes. |
83 VIEW_ID_PREDEFINED_COUNT | 85 VIEW_ID_PREDEFINED_COUNT |
84 }; | 86 }; |
85 | 87 |
86 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_ | 88 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_ |
87 | 89 |
OLD | NEW |