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

Side by Side Diff: apps/shell/common/shell_extensions_client.h

Issue 234413005: Move most of ChromeV8Context to a base ScriptContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: factor feature_channel out of module_system Created 6 years, 8 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
« no previous file with comments | « PRESUBMIT.py ('k') | apps/shell/common/shell_extensions_client.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 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_COMMON_SHELL_EXTENSIONS_CLIENT_H_ 5 #ifndef APPS_SHELL_COMMON_SHELL_EXTENSIONS_CLIENT_H_
6 #define APPS_SHELL_COMMON_SHELL_EXTENSIONS_CLIENT_H_ 6 #define APPS_SHELL_COMMON_SHELL_EXTENSIONS_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "extensions/common/extensions_client.h" 10 #include "extensions/common/extensions_client.h"
(...skipping 24 matching lines...) Expand all
35 virtual extensions::URLPatternSet GetPermittedChromeSchemeHosts( 35 virtual extensions::URLPatternSet GetPermittedChromeSchemeHosts(
36 const extensions::Extension* extension, 36 const extensions::Extension* extension,
37 const extensions::APIPermissionSet& api_permissions) const OVERRIDE; 37 const extensions::APIPermissionSet& api_permissions) const OVERRIDE;
38 virtual bool IsScriptableURL(const GURL& url, std::string* error) const 38 virtual bool IsScriptableURL(const GURL& url, std::string* error) const
39 OVERRIDE; 39 OVERRIDE;
40 virtual bool IsAPISchemaGenerated(const std::string& name) const OVERRIDE; 40 virtual bool IsAPISchemaGenerated(const std::string& name) const OVERRIDE;
41 virtual base::StringPiece GetAPISchema(const std::string& name) const 41 virtual base::StringPiece GetAPISchema(const std::string& name) const
42 OVERRIDE; 42 OVERRIDE;
43 virtual void AddExtraFeatureFilters(extensions::SimpleFeature* feature) const 43 virtual void AddExtraFeatureFilters(extensions::SimpleFeature* feature) const
44 OVERRIDE; 44 OVERRIDE;
45 virtual bool ShouldSuppressFatalErrors() const OVERRIDE;
45 46
46 private: 47 private:
47 ScriptingWhitelist scripting_whitelist_; 48 ScriptingWhitelist scripting_whitelist_;
48 49
49 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsClient); 50 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsClient);
50 }; 51 };
51 52
52 } // namespace apps 53 } // namespace apps
53 54
54 #endif // APPS_SHELL_COMMON_SHELL_EXTENSIONS_CLIENT_H_ 55 #endif // APPS_SHELL_COMMON_SHELL_EXTENSIONS_CLIENT_H_
OLDNEW
« no previous file with comments | « PRESUBMIT.py ('k') | apps/shell/common/shell_extensions_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698