OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_INSTALL_EXTENSION_HANDLER_H_ | |
6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_INSTALL_EXTENSION_HANDLER_H_ | |
7 #pragma once | |
8 | |
9 #include "base/file_path.h" | |
10 #include "base/values.h" | |
11 #include "content/public/browser/web_ui_message_handler.h" | |
12 | |
13 class InstallExtensionHandler : public content::WebUIMessageHandler { | |
James Hawkins
2012/05/01 23:13:36
nit: Document class.
Aaron Boodman
2012/05/02 00:41:36
Done.
| |
14 public: | |
15 InstallExtensionHandler(); | |
16 virtual ~InstallExtensionHandler(); | |
17 | |
18 void GetLocalizedValues(DictionaryValue* localized_strings); | |
19 | |
20 // WebUIMessageHandler implementation. | |
21 virtual void RegisterMessages() OVERRIDE; | |
22 | |
23 private: | |
24 void HandleStartDragMessage(const ListValue* args); | |
25 void HandleStopDragMessage(const ListValue* args); | |
26 void HandleInstallMessage(const ListValue* args); | |
27 | |
28 FilePath file_to_install_; | |
James Hawkins
2012/05/01 23:13:36
nit: Document member var. The var name alone is n
Aaron Boodman
2012/05/02 00:41:36
Done.
| |
29 | |
30 DISALLOW_COPY_AND_ASSIGN(InstallExtensionHandler); | |
31 }; | |
32 | |
33 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_INSTALL_EXTENSION_HANDLER_H_ | |
OLD | NEW |