[Extensions] Make extension message bubble factory platform-abstract
[chromium-blink-merge.git] / chrome / browser / ui / view_ids.h
blobe396b9cac71abd286b3be718995b3cb576ca3dbb
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
3 // found in the LICENSE file.
5 // This defines an enumeration of IDs that can uniquely identify a view within
6 // the scope of a container view.
8 #ifndef CHROME_BROWSER_UI_VIEW_IDS_H_
9 #define CHROME_BROWSER_UI_VIEW_IDS_H_
11 enum ViewID {
12 VIEW_ID_NONE = 0,
14 // BROWSER WINDOW VIEWS
15 // ------------------------------------------------------
17 // Views which make up the skyline. These are used only
18 // on views.
19 VIEW_ID_MINIMIZE_BUTTON,
20 VIEW_ID_MAXIMIZE_BUTTON,
21 VIEW_ID_RESTORE_BUTTON,
22 VIEW_ID_CLOSE_BUTTON,
23 VIEW_ID_WINDOW_ICON,
24 VIEW_ID_WINDOW_TITLE,
25 #if defined(ENABLE_SUPERVISED_USERS)
26 VIEW_ID_SUPERVISED_USER_AVATAR_LABEL,
27 #endif
28 VIEW_ID_AVATAR_BUTTON,
29 VIEW_ID_NEW_AVATAR_BUTTON,
31 // Tabs within a window/tab strip, counting from the left.
32 VIEW_ID_TAB_0,
33 VIEW_ID_TAB_1,
34 VIEW_ID_TAB_2,
35 VIEW_ID_TAB_3,
36 VIEW_ID_TAB_4,
37 VIEW_ID_TAB_5,
38 VIEW_ID_TAB_6,
39 VIEW_ID_TAB_7,
40 VIEW_ID_TAB_8,
41 VIEW_ID_TAB_9,
42 VIEW_ID_TAB_LAST,
44 // ID for any tab. Currently only used on views.
45 VIEW_ID_TAB,
47 VIEW_ID_TAB_STRIP,
49 // Toolbar & toolbar elements.
50 VIEW_ID_TOOLBAR = 1000,
51 VIEW_ID_BACK_BUTTON,
52 VIEW_ID_FORWARD_BUTTON,
53 VIEW_ID_RELOAD_BUTTON,
54 VIEW_ID_HOME_BUTTON,
55 VIEW_ID_STAR_BUTTON,
56 VIEW_ID_APP_MENU,
57 VIEW_ID_BROWSER_ACTION_TOOLBAR,
58 VIEW_ID_BROWSER_ACTION,
59 VIEW_ID_FEEDBACK_BUTTON,
60 VIEW_ID_OMNIBOX,
61 VIEW_ID_SCRIPT_BUBBLE,
62 VIEW_ID_TRANSLATE_BUTTON,
64 // The Bookmark Bar.
65 VIEW_ID_BOOKMARK_BAR,
66 VIEW_ID_OTHER_BOOKMARKS,
67 VIEW_ID_MANAGED_BOOKMARKS,
68 VIEW_ID_SUPERVISED_BOOKMARKS,
69 // Used for bookmarks/folders on the bookmark bar.
70 VIEW_ID_BOOKMARK_BAR_ELEMENT,
72 // Find in page.
73 VIEW_ID_FIND_IN_PAGE_TEXT_FIELD,
75 // Tab Container window.
76 VIEW_ID_TAB_CONTAINER,
78 // Docked dev tools.
79 VIEW_ID_DEV_TOOLS_DOCKED,
81 // The contents split.
82 VIEW_ID_CONTENTS_SPLIT,
84 // The Infobar container.
85 VIEW_ID_INFO_BAR_CONTAINER,
87 // The Download shelf.
88 VIEW_ID_DOWNLOAD_SHELF,
90 // The omnibox icon to do voice-based search.
91 VIEW_ID_MIC_SEARCH_BUTTON,
93 // Used in chrome/browser/ui/cocoa/view_id_util_browsertest.mm.
94 // If you add new ids, make sure the above test passes.
95 VIEW_ID_PREDEFINED_COUNT,
97 // Plus button on location bar.
98 VIEW_ID_ACTION_BOX_BUTTON,
101 #endif // CHROME_BROWSER_UI_VIEW_IDS_H_