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

Unified Diff: chrome/browser/dom_ui/app_launcher_handler.h

Issue 3517004: Revert 60997 - o Add user customizable launch type for apps by adding options... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/cros_settings.h ('k') | chrome/browser/dom_ui/app_launcher_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/app_launcher_handler.h
===================================================================
--- chrome/browser/dom_ui/app_launcher_handler.h (revision 60999)
+++ chrome/browser/dom_ui/app_launcher_handler.h (working copy)
@@ -9,15 +9,11 @@
#include "base/scoped_ptr.h"
#include "chrome/browser/dom_ui/dom_ui.h"
#include "chrome/browser/extensions/extension_install_ui.h"
-#include "chrome/browser/prefs/pref_change_registrar.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
class Extension;
-class ExtensionPrefs;
class ExtensionsService;
-class NotificationRegistrar;
-class PrefChangeRegistrar;
namespace gfx {
class Rect;
@@ -42,22 +38,14 @@
const NotificationDetails& details);
// Populate a dictionary with the information from an extension.
- static void CreateAppInfo(Extension* extension,
- ExtensionPrefs* extension_prefs,
- DictionaryValue* value);
+ static void CreateAppInfo(Extension* extension, DictionaryValue* value);
- // Populate the given dictionary with all installed app info.
- void FillAppDictionary(DictionaryValue* value);
-
// Callback for the "getApps" message.
void HandleGetApps(const ListValue* args);
// Callback for the "launchApp" message.
void HandleLaunchApp(const ListValue* args);
- // Callback for the "setLaunchType" message.
- void HandleSetLaunchType(const ListValue* args);
-
// Callback for the "uninstallApp" message.
void HandleUninstallApp(const ListValue* args);
@@ -81,9 +69,6 @@
// when necessary.
NotificationRegistrar registrar_;
- // Monitor extension preference changes so that the DOM UI can be notified.
- PrefChangeRegistrar pref_change_registrar_;
-
// Used to show confirmation UI for uninstalling/enabling extensions in
// incognito mode.
scoped_ptr<ExtensionInstallUI> install_ui_;
« no previous file with comments | « chrome/browser/chromeos/cros_settings.h ('k') | chrome/browser/dom_ui/app_launcher_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698