Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: chrome/browser/ui/webui/extensions/install_extension_handler.h

Issue 10270031: Add a first-class off-store install UI to chrome://extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: AppEngine, you suck Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698