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

Side by Side Diff: chrome/browser/dom_ui/app_launcher_handler.h

Issue 3522015: Implement new strategy for default apps (Closed)
Patch Set: all done Created 10 years, 2 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
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/dom_ui/app_launcher_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DOM_UI_APP_LAUNCHER_HANDLER_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_
6 #define CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_ 6 #define CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "chrome/browser/dom_ui/dom_ui.h" 10 #include "chrome/browser/dom_ui/dom_ui.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 // Callback for the "launchApp" message. 55 // Callback for the "launchApp" message.
56 void HandleLaunchApp(const ListValue* args); 56 void HandleLaunchApp(const ListValue* args);
57 57
58 // Callback for the "setLaunchType" message. 58 // Callback for the "setLaunchType" message.
59 void HandleSetLaunchType(const ListValue* args); 59 void HandleSetLaunchType(const ListValue* args);
60 60
61 // Callback for the "uninstallApp" message. 61 // Callback for the "uninstallApp" message.
62 void HandleUninstallApp(const ListValue* args); 62 void HandleUninstallApp(const ListValue* args);
63 63
64 // Callback for the "hideAppPromo" message.
65 void HandleHideAppsPromo(const ListValue* args);
66
64 private: 67 private:
65 // ExtensionInstallUI::Delegate implementation, used for receiving 68 // ExtensionInstallUI::Delegate implementation, used for receiving
66 // notification about uninstall confirmation dialog selections. 69 // notification about uninstall confirmation dialog selections.
67 virtual void InstallUIProceed(); 70 virtual void InstallUIProceed();
68 virtual void InstallUIAbort(); 71 virtual void InstallUIAbort();
69 72
70 // Returns the ExtensionInstallUI object for this class, creating it if 73 // Returns the ExtensionInstallUI object for this class, creating it if
71 // needed. 74 // needed.
72 ExtensionInstallUI* GetExtensionInstallUI(); 75 ExtensionInstallUI* GetExtensionInstallUI();
73 76
(...skipping 14 matching lines...) Expand all
88 // incognito mode. 91 // incognito mode.
89 scoped_ptr<ExtensionInstallUI> install_ui_; 92 scoped_ptr<ExtensionInstallUI> install_ui_;
90 93
91 // The id of the extension we are prompting the user about. 94 // The id of the extension we are prompting the user about.
92 std::string extension_id_prompting_; 95 std::string extension_id_prompting_;
93 96
94 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler); 97 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler);
95 }; 98 };
96 99
97 #endif // CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_ 100 #endif // CHROME_BROWSER_DOM_UI_APP_LAUNCHER_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/dom_ui/app_launcher_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698