| OLD | NEW | 
|---|
| 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_STARTUP_PAGES_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_STARTUP_PAGES_HANDLER_H_ | 
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_STARTUP_PAGES_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_STARTUP_PAGES_HANDLER_H_ | 
| 7 | 7 | 
| 8 #include "base/macros.h" | 8 #include "base/macros.h" | 
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" | 
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" | 
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" | 
| 12 #include "base/prefs/pref_change_registrar.h" |  | 
| 13 #include "base/prefs/pref_member.h" |  | 
| 14 #include "chrome/browser/ui/webui/options/options_ui.h" | 12 #include "chrome/browser/ui/webui/options/options_ui.h" | 
| 15 #include "components/omnibox/browser/autocomplete_controller_delegate.h" | 13 #include "components/omnibox/browser/autocomplete_controller_delegate.h" | 
|  | 14 #include "components/prefs/pref_change_registrar.h" | 
|  | 15 #include "components/prefs/pref_member.h" | 
| 16 #include "ui/base/models/table_model_observer.h" | 16 #include "ui/base/models/table_model_observer.h" | 
| 17 | 17 | 
| 18 class AutocompleteController; | 18 class AutocompleteController; | 
| 19 class CustomHomePagesTableModel; | 19 class CustomHomePagesTableModel; | 
| 20 class TemplateURLService; | 20 class TemplateURLService; | 
| 21 | 21 | 
| 22 namespace options { | 22 namespace options { | 
| 23 | 23 | 
| 24 // Chrome browser options page UI handler. | 24 // Chrome browser options page UI handler. | 
| 25 class StartupPagesHandler : public OptionsPageUIHandler, | 25 class StartupPagesHandler : public OptionsPageUIHandler, | 
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 86 | 86 | 
| 87   // The set of pages to launch on startup. | 87   // The set of pages to launch on startup. | 
| 88   scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_; | 88   scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_; | 
| 89 | 89 | 
| 90   DISALLOW_COPY_AND_ASSIGN(StartupPagesHandler); | 90   DISALLOW_COPY_AND_ASSIGN(StartupPagesHandler); | 
| 91 }; | 91 }; | 
| 92 | 92 | 
| 93 }  // namespace options | 93 }  // namespace options | 
| 94 | 94 | 
| 95 #endif  // CHROME_BROWSER_UI_WEBUI_OPTIONS_STARTUP_PAGES_HANDLER_H_ | 95 #endif  // CHROME_BROWSER_UI_WEBUI_OPTIONS_STARTUP_PAGES_HANDLER_H_ | 
| OLD | NEW | 
|---|