Searched refs:web_app (Results 1 - 25 of 53) sorted by relevance

123

/external/chromium_org/chrome/browser/extensions/
H A Dconvert_web_app_unittest.cc101 WebApplicationInfo web_app; local
102 web_app.title = base::ASCIIToUTF16("Gearpad");
103 web_app.description =
105 web_app.app_url = GURL("http://aaronboodman.com/gearpad/");
110 web_app.app_url.Resolve(base::StringPrintf("%i.png", sizes[i])));
111 web_app.icons.push_back(GetIconInfo(icon_url, sizes[i]));
115 web_app, GetTestTime(1978, 12, 11, 0, 0, 0, 0),
130 EXPECT_EQ(base::UTF16ToUTF8(web_app.title), extension->name());
131 EXPECT_EQ(base::UTF16ToUTF8(web_app.description), extension->description());
132 EXPECT_EQ(web_app
156 WebApplicationInfo web_app; local
[all...]
H A Dconvert_web_app.cc87 const WebApplicationInfo& web_app,
105 root->SetString(keys::kPublicKey, GenerateKey(web_app.app_url));
106 root->SetString(keys::kName, base::UTF16ToUTF8(web_app.title));
108 root->SetString(keys::kDescription, base::UTF16ToUTF8(web_app.description));
109 root->SetString(keys::kLaunchWebURL, web_app.app_url.spec());
114 for (size_t i = 0; i < web_app.icons.size(); ++i) {
115 std::string size = base::StringPrintf("%i", web_app.icons[i].width);
135 for (size_t i = 0; i < web_app.icons.size(); ++i) {
137 if (web_app.icons[i].data.colorType() == kUnknown_SkColorType)
141 base::StringPrintf("%i.png", web_app
86 ConvertWebAppToExtension( const WebApplicationInfo& web_app, const Time& create_time, const base::FilePath& extensions_dir) argument
[all...]
H A Dcrx_installer.h108 void InstallWebApp(const WebApplicationInfo& web_app);
218 void ConvertWebAppOnFileThread(const WebApplicationInfo& web_app);
/external/chromium_org/chrome/browser/apps/
H A Dshortcut_manager.cc20 #include "chrome/browser/web_applications/web_app.h"
48 web_app::ShortcutLocations creation_locations;
54 web_app::APP_MENU_LOCATION_HIDDEN;
59 web_app::APP_MENU_LOCATION_SUBDIR_CHROMEAPPS;
62 web_app::CreateShortcuts(
63 web_app::SHORTCUT_CREATION_AUTOMATED, creation_locations, profile, app);
132 web_app::UpdateAllShortcuts(
143 web_app::DeleteAllShortcuts(profile_, extension);
152 base::Bind(&web_app::internals::DeleteAllShortcutsForProfile,
167 base::Bind(&web_app
[all...]
/external/chromium_org/chrome/browser/web_applications/
H A Dupdate_shortcut_worker_win.h9 #include "chrome/browser/web_applications/web_app.h"
19 namespace web_app { namespace
70 web_app::IconInfoList unprocessed_icons_;
73 web_app::ShortcutInfo shortcut_info_;
87 } // namespace web_app
H A Dweb_app_unittest.cc5 #include "chrome/browser/web_applications/web_app.h"
10 #include "chrome/browser/web_applications/web_app.h"
46 web_app::ShortcutInfo info;
47 web_app::GetShortcutInfoForTab(web_contents(), &info);
59 web_app::GetWebAppDataDirectory(profile_path, "123", GURL()));
67 base::FilePath result(web_app::GetWebAppDataDirectory(
H A Dweb_app_chromeos.cc5 #include "chrome/browser/web_applications/web_app.h"
7 namespace web_app { namespace
37 } // namespace web_app
H A Dweb_app_win.h9 #include "chrome/browser/web_applications/web_app.h"
25 namespace web_app { namespace
48 } // namespace web_app
H A Dupdate_shortcut_worker_win.cc20 #include "chrome/browser/web_applications/web_app.h"
34 namespace web_app { namespace
42 web_app::GetShortcutInfoForTab(web_contents_, &shortcut_info_);
43 web_app::GetIconsInfo(extensions_tab_helper->web_app_info(),
45 file_name_ = web_app::internals::GetSanitizedFileName(shortcut_info_.title);
181 base::FilePath web_app_path = web_app::GetWebAppDataDirectory(
193 web_app::internals::GetIconFilePath(web_app_path, shortcut_info_.title);
194 web_app::internals::CheckAndSaveIcon(icon_file, shortcut_info_.favicon);
202 web_app::GenerateApplicationNameFromURL(shortcut_info_.url)),
243 } // namespace web_app
[all...]
H A Dweb_app_win.cc136 Append(web_app::internals::GetSanitizedFileName(shortcut_name)).
164 const web_app::ShortcutInfo& shortcut_info,
166 web_app::ShortcutCreationReason creation_reason,
176 web_app::internals::GetIconFilePath(web_app_path, shortcut_info.title);
177 if (!web_app::internals::CheckAndSaveIcon(icon_file, shortcut_info.favicon)) {
206 std::string app_name(web_app::GenerateApplicationNameFromInfo(shortcut_info));
215 web_app::internals::GetSanitizedFileName(shortcut_info.title))
217 if (creation_reason == web_app::SHORTCUT_CREATION_AUTOMATED) {
282 web_app::ShortcutLocations all_shortcut_locations;
289 web_app
381 namespace web_app { namespace
[all...]
H A Dweb_app.cc5 #include "chrome/browser/web_applications/web_app.h"
74 base::FilePath GetShortcutDataDir(const web_app::ShortcutInfo& shortcut_info) {
75 return web_app::GetWebAppDataDirectory(shortcut_info.profile_path,
82 const web_app::ShortcutInfo& shortcut_info,
87 base::Bind(&web_app::internals::UpdatePlatformShortcuts,
92 void OnImageLoaded(web_app::ShortcutInfo shortcut_info,
94 web_app::InfoCallback callback,
118 const web_app::ShortcutInfoCallback& shortcut_info_callback,
119 const web_app::ShortcutInfo& shortcut_info,
126 namespace web_app { namespace
[all...]
H A Dweb_app_linux.cc5 #include "chrome/browser/web_applications/web_app.h"
12 namespace web_app { namespace
79 } // namespace web_app
H A Dweb_app_mac.h14 #include "chrome/browser/web_applications/web_app.h"
26 namespace web_app { namespace
123 } // namespace web_app
/external/chromium_org/chrome/browser/ui/views/apps/
H A Dchrome_native_app_window_views_win.h10 namespace web_app { namespace
30 const web_app::ShortcutInfo& shortcut_info);
H A Dchrome_native_app_window_views_win.cc22 #include "chrome/browser/web_applications/web_app.h"
121 web_app::GenerateApplicationNameFromExtensionId(extension->id());
130 web_app::UpdateRelaunchDetailsForApp(profile, extension, hwnd);
/external/chromium_org/chrome/browser/
H A Dshell_integration_linux.h12 #include "chrome/browser/web_applications/web_app.h"
51 web_app::ShortcutLocations GetExistingShortcutLocations(
59 web_app::ShortcutLocations GetExistingShortcutLocations(
121 const web_app::ShortcutInfo& shortcut_info,
122 const web_app::ShortcutLocations& creation_locations);
H A Dshell_integration_linux_unittest.cc171 web_app::ShortcutLocations result =
174 EXPECT_EQ(web_app::APP_MENU_LOCATION_NONE,
191 web_app::ShortcutLocations result = GetExistingShortcutLocations(
194 EXPECT_EQ(web_app::APP_MENU_LOCATION_NONE,
212 web_app::ShortcutLocations result =
215 EXPECT_EQ(web_app::APP_MENU_LOCATION_SUBDIR_CHROMEAPPS,
233 web_app::ShortcutLocations result =
237 EXPECT_EQ(web_app::APP_MENU_LOCATION_HIDDEN,
262 web_app::ShortcutLocations result = GetExistingShortcutLocations(
265 EXPECT_EQ(web_app
[all...]
H A Dshell_integration_linux.cc632 web_app::ShortcutLocations GetExistingShortcutLocations(
643 web_app::ShortcutLocations GetExistingShortcutLocations(
653 web_app::ShortcutLocations locations;
669 ? web_app::APP_MENU_LOCATION_HIDDEN
670 : web_app::APP_MENU_LOCATION_SUBDIR_CHROMEAPPS;
835 std::string wmclass = web_app::GetWMClassFromAppName(app_name);
902 const web_app::ShortcutInfo& shortcut_info,
903 const web_app::ShortcutLocations& creation_locations) {
916 web_app::APP_MENU_LOCATION_NONE) {
929 web_app
[all...]
/external/chromium_org/chrome/browser/ui/views/
H A Dcreate_application_shortcut_view.h13 #include "chrome/browser/web_applications/web_app.h"
91 web_app::ShortcutInfo shortcut_info_;
128 web_app::IconInfoList unprocessed_icons_;
150 void OnAppInfoLoaded(const web_app::ShortcutInfo& shortcut_info,
H A Dcreate_application_shortcut_view.cc22 #include "chrome/browser/web_applications/web_app.h"
376 web_app::ShortcutLocations creation_locations;
381 web_app::APP_MENU_LOCATION_SUBDIR_CHROMEAPPS :
382 web_app::APP_MENU_LOCATION_ROOT;
394 web_app::CreateShortcutsWithInfo(web_app::SHORTCUT_CREATION_BY_USER,
433 web_app::GetShortcutInfoForTab(web_contents_, &shortcut_info_);
437 web_app::GetIconsInfo(app_info, &unprocessed_icons_);
522 web_app::GetInfoForApp(
544 const web_app
[all...]
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dbrowser_window_property_manager_win.cc18 #include "chrome/browser/web_applications/web_app.h"
65 web_app::GetExtensionIdFromApplicationName(browser->app_name()),
69 web_app::UpdateRelaunchDetailsForApp(profile, extension, hwnd);
H A Dbrowser_window_property_manager_browsertest_win.cc29 #include "chrome/browser/web_applications/web_app.h"
129 base::FilePath web_app_dir = web_app::GetWebAppDataDirectory(
135 EXPECT_EQ(web_app::internals::GetIconFilePath(
/external/chromium_org/chrome/browser/ui/views/app_list/win/
H A Dapp_list_service_win.cc33 #include "chrome/browser/web_applications/web_app.h"
169 const web_app::ShortcutLocations& creation_locations) {
174 web_app::internals::GetShortcutPaths(creation_locations);
321 web_app::ShortcutLocations shortcut_locations;
325 web_app::APP_MENU_LOCATION_SUBDIR_CHROME;
/external/chromium_org/chrome/browser/apps/drive/
H A Ddrive_app_provider_browsertest.cc137 WebApplicationInfo web_app; local
138 web_app.title = base::ASCIIToUTF16("User installed Url app");
139 web_app.app_url = GURL(url);
146 crx_installer->InstallWebApp(web_app);
/external/chromium_org/chrome/browser/ui/ash/launcher/
H A Dlauncher_app_tab_helper.cc15 #include "chrome/browser/web_applications/web_app.h"
44 web_app::GetExtensionIdFromApplicationName(browser->app_name()),

Completed in 344 milliseconds

123