OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
csilv
2012/07/11 00:45:49
nit: 2012
Dan Beam
2012/07/11 01:08:35
Done.
| |
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_HANDLER2_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_WEB_INTENTS_SETTINGS_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_WEB_INTENTS_SETTINGS_HANDLER2_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_WEB_INTENTS_SETTINGS_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "chrome/browser/ui/intents/web_intents_model.h" | 11 #include "chrome/browser/ui/intents/web_intents_model.h" |
12 #include "chrome/browser/ui/webui/options2/options_ui2.h" | 12 #include "chrome/browser/ui/webui/options2/options_ui.h" |
13 | 13 |
14 class WebIntentsRegistry; | 14 class WebIntentsRegistry; |
15 | 15 |
16 namespace options2 { | 16 namespace options2 { |
17 | 17 |
18 // Manage setting up the backing data for the web intents options page. | 18 // Manage setting up the backing data for the web intents options page. |
19 class WebIntentsSettingsHandler : public OptionsPageUIHandler, | 19 class WebIntentsSettingsHandler : public OptionsPageUIHandler, |
20 public WebIntentsModel::Observer { | 20 public WebIntentsModel::Observer { |
21 public: | 21 public: |
22 WebIntentsSettingsHandler(); | 22 WebIntentsSettingsHandler(); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
71 scoped_ptr<WebIntentsModel> intents_tree_model_; | 71 scoped_ptr<WebIntentsModel> intents_tree_model_; |
72 | 72 |
73 // Flag to indicate whether there is a batch update in progress. | 73 // Flag to indicate whether there is a batch update in progress. |
74 bool batch_update_; | 74 bool batch_update_; |
75 | 75 |
76 DISALLOW_COPY_AND_ASSIGN(WebIntentsSettingsHandler); | 76 DISALLOW_COPY_AND_ASSIGN(WebIntentsSettingsHandler); |
77 }; | 77 }; |
78 | 78 |
79 } // namespace options2 | 79 } // namespace options2 |
80 | 80 |
81 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_WEB_INTENTS_SETTINGS_HANDLER2_H_ | 81 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_WEB_INTENTS_SETTINGS_HANDLER_H_ |
OLD | NEW |