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

Side by Side Diff: apps/shell/browser/shell_extensions_browser_client.h

Issue 185293017: Move ExtensionFunctionRegistry out of src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
6 #define APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "extensions/browser/extensions_browser_client.h" 9 #include "extensions/browser/extensions_browser_client.h"
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual void OnRenderViewCreatedForBackgroundPage(ExtensionHost* host) 51 virtual void OnRenderViewCreatedForBackgroundPage(ExtensionHost* host)
52 OVERRIDE; 52 OVERRIDE;
53 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; 53 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE;
54 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; 54 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE;
55 virtual bool IsRunningInForcedAppMode() OVERRIDE; 55 virtual bool IsRunningInForcedAppMode() OVERRIDE;
56 virtual content::JavaScriptDialogManager* GetJavaScriptDialogManager() 56 virtual content::JavaScriptDialogManager* GetJavaScriptDialogManager()
57 OVERRIDE; 57 OVERRIDE;
58 virtual ApiActivityMonitor* GetApiActivityMonitor( 58 virtual ApiActivityMonitor* GetApiActivityMonitor(
59 content::BrowserContext* context) OVERRIDE; 59 content::BrowserContext* context) OVERRIDE;
60 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; 60 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE;
61 virtual void RegisterAdditionalExtensionFunctions(
62 ExtensionFunctionRegistry* registry) const OVERRIDE;
61 63
62 private: 64 private:
63 // The single BrowserContext for app_shell. Not owned. 65 // The single BrowserContext for app_shell. Not owned.
64 content::BrowserContext* browser_context_; 66 content::BrowserContext* browser_context_;
65 67
66 // The PrefService for |browser_context_|. 68 // The PrefService for |browser_context_|.
67 scoped_ptr<PrefService> prefs_; 69 scoped_ptr<PrefService> prefs_;
68 70
69 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); 71 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient);
70 }; 72 };
71 73
72 } // namespace extensions 74 } // namespace extensions
73 75
74 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 76 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698