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

Side by Side Diff: chrome/browser/extensions/api/management/chrome_management_api_delegate.h

Issue 1300763002: Add a flag to enable open in window for hosted apps on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@disable-new-bookmark-apps
Patch Set: Addressing nits Created 5 years, 4 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
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 CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_DELEGATE_ H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_DELEGATE_ H_
6 #define CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_DELEGATE_ H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_DELEGATE_ H_
7 7
8 #include "base/task/cancelable_task_tracker.h" 8 #include "base/task/cancelable_task_tracker.h"
9 #include "chrome/browser/extensions/extension_install_prompt.h" 9 #include "chrome/browser/extensions/extension_install_prompt.h"
10 #include "chrome/browser/extensions/extension_uninstall_dialog.h" 10 #include "chrome/browser/extensions/extension_uninstall_dialog.h"
(...skipping 29 matching lines...) Expand all
40 const extensions::Extension* target_extension, 40 const extensions::Extension* target_extension,
41 bool show_programmatic_uninstall_ui) const override; 41 bool show_programmatic_uninstall_ui) const override;
42 bool CreateAppShortcutFunctionDelegate( 42 bool CreateAppShortcutFunctionDelegate(
43 extensions::ManagementCreateAppShortcutFunction* function, 43 extensions::ManagementCreateAppShortcutFunction* function,
44 const extensions::Extension* extension) const override; 44 const extensions::Extension* extension) const override;
45 scoped_ptr<extensions::AppForLinkDelegate> GenerateAppForLinkFunctionDelegate( 45 scoped_ptr<extensions::AppForLinkDelegate> GenerateAppForLinkFunctionDelegate(
46 extensions::ManagementGenerateAppForLinkFunction* function, 46 extensions::ManagementGenerateAppForLinkFunction* function,
47 content::BrowserContext* context, 47 content::BrowserContext* context,
48 const std::string& title, 48 const std::string& title,
49 const GURL& launch_url) const override; 49 const GURL& launch_url) const override;
50 bool CanHostedAppsOpenInWindows() const override;
50 bool IsNewBookmarkAppsEnabled() const override; 51 bool IsNewBookmarkAppsEnabled() const override;
51 void EnableExtension(content::BrowserContext* context, 52 void EnableExtension(content::BrowserContext* context,
52 const std::string& extension_id) const override; 53 const std::string& extension_id) const override;
53 void DisableExtension( 54 void DisableExtension(
54 content::BrowserContext* context, 55 content::BrowserContext* context,
55 const std::string& extension_id, 56 const std::string& extension_id,
56 extensions::Extension::DisableReason disable_reason) const override; 57 extensions::Extension::DisableReason disable_reason) const override;
57 bool UninstallExtension(content::BrowserContext* context, 58 bool UninstallExtension(content::BrowserContext* context,
58 const std::string& transient_extension_id, 59 const std::string& transient_extension_id,
59 extensions::UninstallReason reason, 60 extensions::UninstallReason reason,
60 const base::Closure& deletion_done_callback, 61 const base::Closure& deletion_done_callback,
61 base::string16* error) const override; 62 base::string16* error) const override;
62 void SetLaunchType(content::BrowserContext* context, 63 void SetLaunchType(content::BrowserContext* context,
63 const std::string& extension_id, 64 const std::string& extension_id,
64 extensions::LaunchType launch_type) const override; 65 extensions::LaunchType launch_type) const override;
65 GURL GetIconURL(const extensions::Extension* extension, 66 GURL GetIconURL(const extensions::Extension* extension,
66 int icon_size, 67 int icon_size,
67 ExtensionIconSet::MatchType match, 68 ExtensionIconSet::MatchType match,
68 bool grayscale, 69 bool grayscale,
69 bool* exists) const override; 70 bool* exists) const override;
70 }; 71 };
71 72
72 #endif // CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_DELEGA TE_H_ 73 #endif // CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_DELEGA TE_H_
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/extensions/api/management/chrome_management_api_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698