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

Side by Side Diff: chrome/browser/ui/webui/options/browser_options_handler.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" 9 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h"
10 #include "chrome/browser/prefs/pref_member.h" 10 #include "chrome/browser/prefs/pref_member.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual void OnTemplateURLServiceChanged(); 45 virtual void OnTemplateURLServiceChanged();
46 46
47 // ui::TableModelObserver implementation. 47 // ui::TableModelObserver implementation.
48 virtual void OnModelChanged(); 48 virtual void OnModelChanged();
49 virtual void OnItemsChanged(int start, int length); 49 virtual void OnItemsChanged(int start, int length);
50 virtual void OnItemsAdded(int start, int length); 50 virtual void OnItemsAdded(int start, int length);
51 virtual void OnItemsRemoved(int start, int length); 51 virtual void OnItemsRemoved(int start, int length);
52 52
53 private: 53 private:
54 // NotificationObserver implementation. 54 // NotificationObserver implementation.
55 virtual void Observe(NotificationType type, 55 virtual void Observe(int type,
56 const NotificationSource& source, 56 const NotificationSource& source,
57 const NotificationDetails& details); 57 const NotificationDetails& details);
58 58
59 // Sets the home page to the given string. Called from WebUI. 59 // Sets the home page to the given string. Called from WebUI.
60 void SetHomePage(const ListValue* args); 60 void SetHomePage(const ListValue* args);
61 61
62 // Makes this the default browser. Called from WebUI. 62 // Makes this the default browser. Called from WebUI.
63 void BecomeDefaultBrowser(const ListValue* args); 63 void BecomeDefaultBrowser(const ListValue* args);
64 64
65 // Sets the search engine at the given index to be default. Called from WebUI. 65 // Sets the search engine at the given index to be default. Called from WebUI.
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // TemplateURLService. 122 // TemplateURLService.
123 scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_; 123 scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_;
124 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; 124 scoped_ptr<OptionsManagedBannerHandler> banner_handler_;
125 125
126 scoped_ptr<AutocompleteController> autocomplete_controller_; 126 scoped_ptr<AutocompleteController> autocomplete_controller_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); 128 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler);
129 }; 129 };
130 130
131 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 131 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698