1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_GEOLOCATION_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_GEOLOCATION_OPTIONS_HANDLER_H_ 7 8 #include "base/prefs/pref_member.h" 9 #include "chrome/browser/ui/webui/options/options_ui.h" 10 11 namespace options { 12 13 // Handles processing of the geolocation options on settings page load. 14 class GeolocationOptionsHandler : public OptionsPageUIHandler { 15 public: 16 GeolocationOptionsHandler(); 17 virtual ~GeolocationOptionsHandler(); 18 19 // OptionsPageUIHandler implementation 20 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE; 21 virtual void InitializePage() OVERRIDE; 22 23 private: 24 DISALLOW_COPY_AND_ASSIGN(GeolocationOptionsHandler); 25 }; 26 27 } // namespace options 28 29 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_GEOLOCATION_OPTIONS_HANDLER_H_ 30 31