1 <h1>User Interface Overrides</h1>
4 User interface overrides are a way for extensions to override selected Chrome
5 user interface properties.
8 <h2 id="bookmarks">Bookmarks User Interface</h2>
10 Register the user interface properties you want to override in the
11 <a href="manifest">extension manifest</a> like this:
15 "name": "My extension",
18 "chrome_ui_overrides" : {
20 "remove_button": "true",
21 "remove_bookmark_shortcut": "true"
30 <a href="#bookmarks_ui">Bookmark button</a>: the "star" button that is used
31 to bookmark pages. Extensions may remove this button using the settings
32 overrides, and optionally replace it with a browser action or page action.
36 <a href="#bookmarks_ui">Bookmark shortcut</a>: the shortcut key that is used
37 to bookmark a page (Ctrl-D on Windows). Extensions may remove this shortcut
38 via the settings overrides, and optionally bind their own command to it
39 using the <code>commands</code> section of the manifest. If the shortcut key
40 is removed or rebound, the corresponding menu item as also removed or
41 overridden respectively.
47 <b>Note:</b> Settings overrides for <code>bookmarks_ui</code> are only enabled
48 in the Chrome Dev release, and Chrome must be started with the
49 <code>--enable-override-bookmarks-ui=1</code> command line flag to enable
50 bookmarks user interface overrides.</p>
52 <h2 id="reference">Reference</h2>
54 An extension can override one or more of the following properties in the
59 {{#f:apis.extensions.manifestTypes.byName.ChromeUIOverrides.properties}}
61 <p id="{{f.name}}"><b><code>{{f.name}}</code> ({{+partials.variable_type type:f/}})</b></p>
62 <p>{{f.description}}</p>
65 <tr><th>Type</th><th>Attribute</th><th>Description</th></tr>
67 title:f.strings.properties
68 display_name:display_name
70 item_partial:(partials.parameter_full hideParamTOC:true)/}}