| 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_OPTIONS2_WEB_INTENTS_SETTINGS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_WEB_INTENTS_SETTINGS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_WEB_INTENTS_SETTINGS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_WEB_INTENTS_SETTINGS_HANDLER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "chrome/browser/ui/intents/web_intents_model.h" | 10 #include "chrome/browser/ui/intents/web_intents_model.h" |
| 11 #include "chrome/browser/ui/webui/options2/options_ui.h" | 11 #include "chrome/browser/ui/webui/options/options_ui.h" |
| 12 | 12 |
| 13 class WebIntentsRegistry; | 13 class WebIntentsRegistry; |
| 14 | 14 |
| 15 namespace options { | 15 namespace options { |
| 16 | 16 |
| 17 // Manage setting up the backing data for the web intents options page. | 17 // Manage setting up the backing data for the web intents options page. |
| 18 class WebIntentsSettingsHandler : public OptionsPageUIHandler, | 18 class WebIntentsSettingsHandler : public OptionsPageUIHandler, |
| 19 public WebIntentsModel::Observer { | 19 public WebIntentsModel::Observer { |
| 20 public: | 20 public: |
| 21 WebIntentsSettingsHandler(); | 21 WebIntentsSettingsHandler(); |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 scoped_ptr<WebIntentsModel> intents_tree_model_; | 70 scoped_ptr<WebIntentsModel> intents_tree_model_; |
| 71 | 71 |
| 72 // Flag to indicate whether there is a batch update in progress. | 72 // Flag to indicate whether there is a batch update in progress. |
| 73 bool batch_update_; | 73 bool batch_update_; |
| 74 | 74 |
| 75 DISALLOW_COPY_AND_ASSIGN(WebIntentsSettingsHandler); | 75 DISALLOW_COPY_AND_ASSIGN(WebIntentsSettingsHandler); |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace options | 78 } // namespace options |
| 79 | 79 |
| 80 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_WEB_INTENTS_SETTINGS_HANDLER_H_ | 80 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_WEB_INTENTS_SETTINGS_HANDLER_H_ |
| OLD | NEW |