summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extensions_ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extensions_ui.h')
-rw-r--r--chrome/browser/extensions/extensions_ui.h39
1 files changed, 21 insertions, 18 deletions
diff --git a/chrome/browser/extensions/extensions_ui.h b/chrome/browser/extensions/extensions_ui.h
index 2b20716..7039d5f 100644
--- a/chrome/browser/extensions/extensions_ui.h
+++ b/chrome/browser/extensions/extensions_ui.h
@@ -20,15 +20,18 @@
#include "content/common/notification_registrar.h"
#include "googleurl/src/gurl.h"
-class DictionaryValue;
class Extension;
class ExtensionService;
class FilePath;
-class ListValue;
class PrefService;
class RenderProcessHost;
class UserScript;
+namespace base {
+class DictionaryValue;
+class ListValue;
+}
+
// Information about a page running in an extension, for example a toolstrip,
// a background page, or a tab contents.
struct ExtensionPage {
@@ -74,7 +77,7 @@ class ExtensionsDOMHandler : public WebUIMessageHandler,
// Extension Detail JSON Struct for page. (static for ease of testing).
// Note: service can be NULL in unit tests.
- static DictionaryValue* CreateExtensionDetailValue(
+ static base::DictionaryValue* CreateExtensionDetailValue(
ExtensionService* service,
const Extension* extension,
const std::vector<ExtensionPage>& pages,
@@ -93,52 +96,52 @@ class ExtensionsDOMHandler : public WebUIMessageHandler,
private:
// Callback for "requestExtensionsData" message.
- void HandleRequestExtensionsData(const ListValue* args);
+ void HandleRequestExtensionsData(const base::ListValue* args);
// Callback for "toggleDeveloperMode" message.
- void HandleToggleDeveloperMode(const ListValue* args);
+ void HandleToggleDeveloperMode(const base::ListValue* args);
// Callback for "inspect" message.
- void HandleInspectMessage(const ListValue* args);
+ void HandleInspectMessage(const base::ListValue* args);
// Callback for "reload" message.
- void HandleReloadMessage(const ListValue* args);
+ void HandleReloadMessage(const base::ListValue* args);
// Callback for "enable" message.
- void HandleEnableMessage(const ListValue* args);
+ void HandleEnableMessage(const base::ListValue* args);
// Callback for "enableIncognito" message.
- void HandleEnableIncognitoMessage(const ListValue* args);
+ void HandleEnableIncognitoMessage(const base::ListValue* args);
// Callback for "allowFileAcces" message.
- void HandleAllowFileAccessMessage(const ListValue* args);
+ void HandleAllowFileAccessMessage(const base::ListValue* args);
// Callback for "uninstall" message.
- void HandleUninstallMessage(const ListValue* args);
+ void HandleUninstallMessage(const base::ListValue* args);
// Callback for "options" message.
- void HandleOptionsMessage(const ListValue* args);
+ void HandleOptionsMessage(const base::ListValue* args);
// Callback for "showButton" message.
- void HandleShowButtonMessage(const ListValue* args);
+ void HandleShowButtonMessage(const base::ListValue* args);
// Callback for "load" message.
- void HandleLoadMessage(const ListValue* args);
+ void HandleLoadMessage(const base::ListValue* args);
// Callback for "pack" message.
- void HandlePackMessage(const ListValue* args);
+ void HandlePackMessage(const base::ListValue* args);
// Callback for "autoupdate" message.
- void HandleAutoUpdateMessage(const ListValue* args);
+ void HandleAutoUpdateMessage(const base::ListValue* args);
// Utility for calling javascript window.alert in the page.
void ShowAlert(const std::string& message);
// Callback for "selectFilePath" message.
- void HandleSelectFilePathMessage(const ListValue* args);
+ void HandleSelectFilePathMessage(const base::ListValue* args);
// Utility for callbacks that get an extension ID as the sole argument.
- const Extension* GetExtension(const ListValue* args);
+ const Extension* GetExtension(const base::ListValue* args);
// Forces a UI update if appropriate after a notification is received.
void MaybeUpdateAfterNotification();