Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1733)

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.h

Issue 8135001: Fixed behavior of the bookmark bar visibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DCHECK_EQ instead of DCHECK Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/browser_options_handler.h
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.h b/chrome/browser/ui/webui/options/browser_options_handler.h
index 0bc85e6a77625eaba673bd7ce9c7d6ba374af6dd..bee1037fa841524960f0c82b0bc6d73c0290d024 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.h
+++ b/chrome/browser/ui/webui/options/browser_options_handler.h
@@ -6,6 +6,8 @@
#define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
#pragma once
+#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "chrome/browser/autocomplete/autocomplete_controller_delegate.h"
#include "chrome/browser/prefs/pref_change_registrar.h"
#include "chrome/browser/prefs/pref_member.h"
@@ -31,30 +33,30 @@ class BrowserOptionsHandler : public OptionsPageUIHandler,
virtual void Initialize();
// OptionsPageUIHandler implementation.
- virtual void GetLocalizedValues(DictionaryValue* localized_strings);
- virtual void RegisterMessages();
+ virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE;
+ virtual void RegisterMessages() OVERRIDE;
// AutocompleteControllerDelegate implementation.
- virtual void OnResultChanged(bool default_match_changed);
+ virtual void OnResultChanged(bool default_match_changed) OVERRIDE;
// ShellIntegration::DefaultWebClientObserver implementation.
virtual void SetDefaultWebClientUIState(
- ShellIntegration::DefaultWebClientUIState state);
+ ShellIntegration::DefaultWebClientUIState state) OVERRIDE;
// TemplateURLServiceObserver implementation.
- virtual void OnTemplateURLServiceChanged();
+ virtual void OnTemplateURLServiceChanged() OVERRIDE;
// ui::TableModelObserver implementation.
- virtual void OnModelChanged();
- virtual void OnItemsChanged(int start, int length);
- virtual void OnItemsAdded(int start, int length);
- virtual void OnItemsRemoved(int start, int length);
+ virtual void OnModelChanged() OVERRIDE;
+ virtual void OnItemsChanged(int start, int length) OVERRIDE;
+ virtual void OnItemsAdded(int start, int length) OVERRIDE;
+ virtual void OnItemsRemoved(int start, int length) OVERRIDE;
private:
// NotificationObserver implementation.
virtual void Observe(int type,
const NotificationSource& source,
- const NotificationDetails& details);
+ const NotificationDetails& details) OVERRIDE;
// Makes this the default browser. Called from WebUI.
void BecomeDefaultBrowser(const ListValue* args);
@@ -83,10 +85,6 @@ class BrowserOptionsHandler : public OptionsPageUIHandler,
// Called from WebUI.
void RequestAutocompleteSuggestions(const ListValue* args);
- // Called when the 'Always show the bookmarks bar' checkbox is toggled.
- // Notifies any listeners interested in this event. |args| is ignored.
- void ToggleShowBookmarksBar(const ListValue* args);
-
// Enables/disables Instant.
void EnableInstant(const ListValue* args);
void DisableInstant(const ListValue* args);
« no previous file with comments | « chrome/browser/ui/webui/ntp/ntp_resource_cache.cc ('k') | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698