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 | 10 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 // The contents split. | 65 // The contents split. |
66 VIEW_ID_CONTENTS_SPLIT, | 66 VIEW_ID_CONTENTS_SPLIT, |
67 | 67 |
68 // The Infobar container. | 68 // The Infobar container. |
69 VIEW_ID_INFO_BAR_CONTAINER, | 69 VIEW_ID_INFO_BAR_CONTAINER, |
70 | 70 |
71 // The Download shelf. | 71 // The Download shelf. |
72 VIEW_ID_DOWNLOAD_SHELF, | 72 VIEW_ID_DOWNLOAD_SHELF, |
73 | 73 |
| 74 // TODO(dbeam): change the zoom decoration to an NSImageView on Mac so IDs work. |
| 75 #if !defined(OS_MACOSX) |
| 76 // Zoom button in location bar. |
| 77 VIEW_ID_ZOOM_BUTTON, |
| 78 #endif |
| 79 |
74 // Used in chrome/browser/ui/gtk/view_id_util_browsertests.cc | 80 // Used in chrome/browser/ui/gtk/view_id_util_browsertests.cc |
75 // If you add new ids, make sure the above test passes. | 81 // If you add new ids, make sure the above test passes. |
76 VIEW_ID_PREDEFINED_COUNT, | 82 VIEW_ID_PREDEFINED_COUNT, |
77 | 83 |
78 // Plus button on location bar. | 84 // Plus button on location bar. |
79 VIEW_ID_ACTION_BOX_BUTTON | 85 VIEW_ID_ACTION_BOX_BUTTON |
80 }; | 86 }; |
81 | 87 |
82 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_ | 88 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_ |
83 | 89 |
OLD | NEW |