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

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

Issue 247663003: Date and Time dialog for when the clock isn't synced. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar edits Created 6 years, 7 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) 2012 The Chromium Authors. All rights reserved. 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 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_OPTIONS_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 30 matching lines...) Expand all
41 // Key for identifying the Settings App localized_strings in loadTimeData. 41 // Key for identifying the Settings App localized_strings in loadTimeData.
42 static const char kSettingsAppKey[]; 42 static const char kSettingsAppKey[];
43 43
44 OptionsPageUIHandler(); 44 OptionsPageUIHandler();
45 virtual ~OptionsPageUIHandler(); 45 virtual ~OptionsPageUIHandler();
46 46
47 // Is this handler enabled? 47 // Is this handler enabled?
48 virtual bool IsEnabled(); 48 virtual bool IsEnabled();
49 49
50 // Collects localized strings for options page. 50 // Collects localized strings for options page.
51 virtual void GetLocalizedValues(base::DictionaryValue* localized_strings) = 0; 51 virtual void GetLocalizedValues(base::DictionaryValue* localized_strings) {}
52 52
53 virtual void PageLoadStarted() {} 53 virtual void PageLoadStarted() {}
54 54
55 // Will be called only once in the life time of the handler. Generally used to 55 // Will be called only once in the life time of the handler. Generally used to
56 // add observers, initializes preferences, or start asynchronous calls from 56 // add observers, initializes preferences, or start asynchronous calls from
57 // various services. 57 // various services.
58 virtual void InitializeHandler() {} 58 virtual void InitializeHandler() {}
59 59
60 // Initialize the page. Called once the DOM is available for manipulation. 60 // Initialize the page. Called once the DOM is available for manipulation.
61 // This will be called when a RenderView is re-used (when navigated to with 61 // This will be called when a RenderView is re-used (when navigated to with
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 scoped_ptr<chromeos::system::PointerDeviceObserver> 159 scoped_ptr<chromeos::system::PointerDeviceObserver>
160 pointer_device_observer_; 160 pointer_device_observer_;
161 #endif 161 #endif
162 162
163 DISALLOW_COPY_AND_ASSIGN(OptionsUI); 163 DISALLOW_COPY_AND_ASSIGN(OptionsUI);
164 }; 164 };
165 165
166 } // namespace options 166 } // namespace options
167 167
168 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_H_ 168 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698