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

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

Issue 2379573008: Add SetImageData api to chrome.clipboard. (Closed)
Patch Set: Add a warning in clipboard.idl about the future deprecation plan. Created 4 years 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 26 matching lines...) Expand all
37 bool IsSameContext(content::BrowserContext* first, 37 bool IsSameContext(content::BrowserContext* first,
38 content::BrowserContext* second) override; 38 content::BrowserContext* second) override;
39 bool HasOffTheRecordContext(content::BrowserContext* context) override; 39 bool HasOffTheRecordContext(content::BrowserContext* context) override;
40 content::BrowserContext* GetOffTheRecordContext( 40 content::BrowserContext* GetOffTheRecordContext(
41 content::BrowserContext* context) override; 41 content::BrowserContext* context) override;
42 content::BrowserContext* GetOriginalContext( 42 content::BrowserContext* GetOriginalContext(
43 content::BrowserContext* context) override; 43 content::BrowserContext* context) override;
44 #if defined(OS_CHROMEOS) 44 #if defined(OS_CHROMEOS)
45 std::string GetUserIdHashFromContext( 45 std::string GetUserIdHashFromContext(
46 content::BrowserContext* context) override; 46 content::BrowserContext* context) override;
47 void SaveImageDataToClipboard(const std::vector<char>& image_data,
48 api::clipboard::ImageType type,
49 const base::Closure& success_callback,
50 const ErrorCallback& error_callback) override;
47 #endif 51 #endif
48 bool IsGuestSession(content::BrowserContext* context) const override; 52 bool IsGuestSession(content::BrowserContext* context) const override;
49 bool IsExtensionIncognitoEnabled( 53 bool IsExtensionIncognitoEnabled(
50 const std::string& extension_id, 54 const std::string& extension_id,
51 content::BrowserContext* context) const override; 55 content::BrowserContext* context) const override;
52 bool CanExtensionCrossIncognito( 56 bool CanExtensionCrossIncognito(
53 const Extension* extension, 57 const Extension* extension,
54 content::BrowserContext* context) const override; 58 content::BrowserContext* context) const override;
55 net::URLRequestJob* MaybeCreateResourceBundleRequestJob( 59 net::URLRequestJob* MaybeCreateResourceBundleRequestJob(
56 net::URLRequest* request, 60 net::URLRequest* request,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 std::unique_ptr<ExtensionCache> extension_cache_; 117 std::unique_ptr<ExtensionCache> extension_cache_;
114 118
115 std::unique_ptr<KioskDelegate> kiosk_delegate_; 119 std::unique_ptr<KioskDelegate> kiosk_delegate_;
116 120
117 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); 121 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient);
118 }; 122 };
119 123
120 } // namespace extensions 124 } // namespace extensions
121 125
122 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 126 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698