/external/chromium_org/chrome/browser/extensions/ |
H A D | 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 156 WebApplicationInfo web_app; local [all...] |
H A D | 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.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 D | crx_installer.h | 108 void InstallWebApp(const WebApplicationInfo& web_app); 218 void ConvertWebAppOnFileThread(const WebApplicationInfo& web_app);
|
/external/chromium_org/chrome/browser/apps/ |
H A D | 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( 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 D | 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
|
H A D | web_app_unittest.cc | 5 #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 D | web_app_chromeos.cc | 5 #include "chrome/browser/web_applications/web_app.h" 7 namespace web_app { namespace 37 } // namespace web_app
|
H A D | web_app_win.h | 9 #include "chrome/browser/web_applications/web_app.h" 25 namespace web_app { namespace 48 } // namespace web_app
|
H A D | 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...] |
H A D | 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 381 namespace web_app { namespace [all...] |
H A D | web_app.cc | 5 #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 D | web_app_linux.cc | 5 #include "chrome/browser/web_applications/web_app.h" 12 namespace web_app { namespace 79 } // namespace web_app
|
H A D | 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/browser/ui/views/apps/ |
H A D | chrome_native_app_window_views_win.h | 10 namespace web_app { namespace 30 const web_app::ShortcutInfo& shortcut_info);
|
H A D | chrome_native_app_window_views_win.cc | 22 #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 D | 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);
|
H A D | shell_integration_linux_unittest.cc | 171 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 D | shell_integration_linux.cc | 632 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 D | create_application_shortcut_view.h | 13 #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 D | create_application_shortcut_view.cc | 22 #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 D | 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);
|
H A D | browser_window_property_manager_browsertest_win.cc | 29 #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 D | app_list_service_win.cc | 33 #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 D | drive_app_provider_browsertest.cc | 137 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 D | launcher_app_tab_helper.cc | 15 #include "chrome/browser/web_applications/web_app.h" 44 web_app::GetExtensionIdFromApplicationName(browser->app_name()),
|