/external/chromium_org/chrome/browser/extensions/ |
convert_web_app_unittest.cc | 101 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.app_url, AppLaunchInfo::GetFullLaunchURL(extension.get())) 156 WebApplicationInfo web_app; local [all...] |
convert_web_app.cc | 87 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.config() == SkBitmap::kNo_Config) 141 base::StringPrintf("%i.png", web_app.icons[i].width)) [all...] |
/external/chromium_org/chrome/browser/web_applications/ |
web_app_android.cc | 5 #include "chrome/browser/web_applications/web_app.h" 7 namespace web_app { namespace 37 } // namespace web_app
|
web_app_chromeos.cc | 5 #include "chrome/browser/web_applications/web_app.h" 7 namespace web_app { namespace 37 } // namespace web_app
|
web_app_unittest.cc | 5 #include "chrome/browser/web_applications/web_app.h" 12 #include "chrome/browser/web_applications/web_app.h" 46 web_app::ShortcutInfo info; 47 web_app::GetShortcutInfoForTab(web_contents(), &info); 57 web_app::GetWebAppDataDirectory(profile_path, "123", GURL())); 65 base::FilePath result(web_app::GetWebAppDataDirectory(
|
web_app_win.h | 9 #include "chrome/browser/web_applications/web_app.h" 25 namespace web_app { namespace 48 } // namespace web_app
|
update_shortcut_worker_win.h | 9 #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
|
update_shortcut_worker_win.cc | 20 #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...] |
web_app_linux.cc | 5 #include "chrome/browser/web_applications/web_app.h" 12 namespace web_app { namespace 79 } // namespace web_app
|
web_app_mac_unittest.mm | 38 class WebAppShortcutCreatorMock : public web_app::WebAppShortcutCreator { 41 const web_app::ShortcutInfo& shortcut_info) 48 const web_app::ShortcutInfo& shortcut_info, 62 web_app::ShortcutInfo GetShortcutInfo() { 63 web_app::ShortcutInfo info; 98 web_app::ShortcutInfo info_; 110 namespace web_app { 118 SHORTCUT_CREATION_AUTOMATED, web_app::ShortcutLocations())); 202 SHORTCUT_CREATION_AUTOMATED, web_app::ShortcutLocations())); 248 SHORTCUT_CREATION_AUTOMATED, web_app::ShortcutLocations())) [all...] |
web_app.cc | 5 #include "chrome/browser/web_applications/web_app.h" 71 base::FilePath GetShortcutDataDir(const web_app::ShortcutInfo& shortcut_info) { 72 return web_app::GetWebAppDataDirectory(shortcut_info.profile_path, 78 web_app::ShortcutCreationReason reason, 79 const web_app::ShortcutLocations& locations, 80 const web_app::ShortcutInfo& shortcut_info, 88 base::IgnoreResult(&web_app::internals::CreatePlatformShortcuts), 95 const web_app::ShortcutInfo& shortcut_info, 100 base::Bind(&web_app::internals::UpdatePlatformShortcuts, 105 void OnImageLoaded(web_app::ShortcutInfo shortcut_info 139 namespace web_app { namespace [all...] |
web_app_win.cc | 136 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::APP_MENU_LOCATION_SUBDIR_CHROMEAPPS 381 namespace web_app { namespace [all...] |
web_app_mac.mm | 109 // array in web_app.cc. 220 void LaunchShimOnFileThread(const web_app::ShortcutInfo& shortcut_info, 223 base::FilePath shim_path = web_app::GetAppInstallPath(shortcut_info); 230 base::FilePath app_data_dir = web_app::GetWebAppDataDirectory( 255 const web_app::ShortcutInfo& shortcut_info, 257 base::FilePath shortcut_data_dir = web_app::GetWebAppDataDirectory( 259 web_app::internals::UpdatePlatformShortcuts( 265 const web_app::ShortcutInfo& shortcut_info, 274 void RebuildAppAndLaunch(const web_app::ShortcutInfo& shortcut_info) { 297 web_app::internals::GetInfoForApp [all...] |
web_app_mac.h | 14 #include "chrome/browser/web_applications/web_app.h" 26 namespace web_app { namespace 123 } // namespace web_app
|
/external/chromium_org/chrome/renderer/ |
web_apps.h | 30 // Parses |web_app| information out of the document in frame. Returns true on 32 // no web application information, in which case |web_app| is unchanged and the 36 // web_app will have manifest_url set and nothing else. The caller must fetch 40 WebApplicationInfo* web_app,
|
/external/chromium_org/chrome/browser/apps/ |
shortcut_manager.cc | 20 #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( 142 web_app::DeleteAllShortcuts(profile_, extension); 151 base::Bind(&web_app::internals::DeleteAllShortcutsForProfile, 166 base::Bind(&web_app::UpdateShortcutsForAllApps [all...] |
/external/chromium_org/chrome/browser/ui/views/apps/ |
chrome_native_app_window_views_win.h | 10 namespace web_app { namespace 30 const web_app::ShortcutInfo& shortcut_info);
|
chrome_native_app_window_views_win.cc | 24 #include "chrome/browser/web_applications/web_app.h" 116 web_app::GenerateApplicationNameFromExtensionId(extension->id()); 126 web_app::UpdateRelaunchDetailsForApp(profile, extension, hwnd);
|
/external/chromium_org/chrome/browser/ui/views/ |
create_application_shortcut_view.h | 13 #include "chrome/browser/web_applications/web_app.h" 90 web_app::ShortcutInfo shortcut_info_; 126 web_app::IconInfoList unprocessed_icons_; 146 void OnShortcutInfoLoaded(const web_app::ShortcutInfo& shortcut_info);
|
create_application_shortcut_view.cc | 22 #include "chrome/browser/web_applications/web_app.h" 378 web_app::ShortcutLocations creation_locations; 383 web_app::APP_MENU_LOCATION_SUBDIR_CHROMEAPPS : 384 web_app::APP_MENU_LOCATION_ROOT; 396 web_app::CreateShortcutsForShortcutInfo( 397 web_app::SHORTCUT_CREATION_BY_USER, 436 web_app::GetShortcutInfoForTab(web_contents_, &shortcut_info_); 440 web_app::GetIconsInfo(app_info, &unprocessed_icons_); 525 web_app::UpdateShortcutInfoAndIconForApp( 548 const web_app::ShortcutInfo& shortcut_info) [all...] |
/external/chromium_org/chrome/browser/ |
shell_integration_linux.h | 12 #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);
|
shell_integration_linux.cc | 630 web_app::ShortcutLocations GetExistingShortcutLocations( 641 web_app::ShortcutLocations GetExistingShortcutLocations( 651 web_app::ShortcutLocations locations; 667 ? web_app::APP_MENU_LOCATION_HIDDEN 668 : web_app::APP_MENU_LOCATION_SUBDIR_CHROMEAPPS; 833 std::string wmclass = web_app::GetWMClassFromAppName(app_name); 900 const web_app::ShortcutInfo& shortcut_info, 901 const web_app::ShortcutLocations& creation_locations) { 914 web_app::APP_MENU_LOCATION_NONE) { 927 web_app::GenerateApplicationNameFromInfo(shortcut_info) [all...] |
/external/chromium_org/chrome/browser/ui/views/frame/ |
browser_window_property_manager_win.cc | 18 #include "chrome/browser/web_applications/web_app.h" 65 web_app::GetExtensionIdFromApplicationName(browser->app_name()), 69 web_app::UpdateRelaunchDetailsForApp(profile, extension, hwnd);
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
launcher_app_tab_helper.cc | 15 #include "chrome/browser/web_applications/web_app.h" 45 web_app::GetExtensionIdFromApplicationName(browser->app_name()),
|
/external/chromium_org/chrome/browser/ui/views/app_list/win/ |
app_list_service_win.cc | 33 #include "chrome/browser/web_applications/web_app.h" 164 const web_app::ShortcutLocations& creation_locations) { 169 web_app::internals::GetShortcutPaths(creation_locations); 312 web_app::ShortcutLocations shortcut_locations; 316 web_app::APP_MENU_LOCATION_SUBDIR_CHROME;
|