| Index: chrome/browser/dom_ui/dom_ui.h
|
| ===================================================================
|
| --- chrome/browser/dom_ui/dom_ui.h (revision 24842)
|
| +++ chrome/browser/dom_ui/dom_ui.h (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -61,6 +61,12 @@
|
| return force_bookmark_bar_visible_;
|
| }
|
|
|
| + // Returns true if the extension shelf should be forced to being visible
|
| + // (if it contains any items), overriding the user's preference.
|
| + bool force_extension_shelf_visible() const {
|
| + return force_extension_shelf_visible_;
|
| + }
|
| +
|
| // Returns true if the location bar should be focused by default rather than
|
| // the page contents. Some pages will want to use this to encourage the user
|
| // to type in the URL bar.
|
| @@ -116,6 +122,7 @@
|
| // bool options default to false. See the public getters for more information.
|
| bool hide_favicon_;
|
| bool force_bookmark_bar_visible_;
|
| + bool force_extension_shelf_visible_;
|
| bool focus_location_bar_by_default_;
|
| bool should_hide_url_;
|
| string16 overridden_title_; // Defaults to empty string.
|
| @@ -146,7 +153,7 @@
|
| class DOMMessageHandler {
|
| public:
|
| DOMMessageHandler() : dom_ui_(NULL) {}
|
| - virtual ~DOMMessageHandler() {};
|
| + virtual ~DOMMessageHandler() {}
|
|
|
| // Attaches |this| to |dom_ui| in order to handle messages from it. Declared
|
| // virtual so that subclasses can do special init work as soon as the dom_ui
|
|
|