/external/chromium/chrome/common/ |
web_apps_unittest.cc | 51 scoped_ptr<WebApplicationInfo> web_app(new WebApplicationInfo()); 52 web_app->manifest_url = GURL("http://example.com/"); 55 if (!web_apps::ParseWebAppFromDefinitionFile(defintion.get(), web_app.get(), 61 return web_app.release(); 70 WebApplicationInfo web_app; 71 web_app.manifest_url = GURL("http://example.com/"); 74 if (web_apps::ParseWebAppFromDefinitionFile(definition.get(), &web_app, 107 scoped_ptr<WebApplicationInfo> web_app( 110 EXPECT_EQ(UTF8ToUTF16("hello"), web_app->title); 111 EXPECT_EQ(UTF8ToUTF16(""), web_app->description) [all...] |
web_apps.h | 87 // Parses |web_app| information out of the document in frame. Returns true on 89 // no web application information, in which case |web_app| is unchanged and the 93 // web_app will have manifest_url set and nothing else. The caller must fetch 97 WebApplicationInfo* web_app, 100 // Parses |web_app| information out of |definition|. Returns true on success, or 101 // false and |error| on failure. This function assumes that |web_app| has a 104 WebApplicationInfo* web_app,
|
web_apps.cc | 209 WebApplicationInfo* web_app, 211 CHECK(web_app->manifest_url.is_valid()); 249 if (!(app_url = web_app->manifest_url.Resolve(app_url_string)).is_valid() || 250 app_url.GetOrigin() != web_app->manifest_url.GetOrigin()) { 274 if (!(url = web_app->manifest_url.Resolve(url_string)).is_valid() || 275 url.GetOrigin() != web_app->manifest_url.GetOrigin()) { 299 !(icon_url = web_app->manifest_url.Resolve( 316 CHECK(definition->GetString("name", &web_app->title)); 317 definition->GetString("description", &web_app->description); 318 definition->GetString("launch_container", &web_app->launch_container) [all...] |
pref_names.cc | [all...] |
/external/chromium/chrome/browser/extensions/ |
convert_web_app_unittest.cc | 93 WebApplicationInfo web_app; local 94 web_app.manifest_url = GURL("http://aaronboodman.com/gearpad/manifest.json"); 95 web_app.title = ASCIIToUTF16("Gearpad"); 96 web_app.description = ASCIIToUTF16("The best text editor in the universe!"); 97 web_app.app_url = GURL("http://aaronboodman.com/gearpad/"); 98 web_app.permissions.push_back("geolocation"); 99 web_app.permissions.push_back("notifications"); 100 web_app.urls.push_back(GURL("http://aaronboodman.com/gearpad/")); 104 GURL icon_url(web_app.app_url.Resolve(StringPrintf("%i.png", sizes[i]))); 105 web_app.icons.push_back(GetIconInfo(icon_url, sizes[i])) 146 WebApplicationInfo web_app; local [all...] |
convert_web_app.cc | 86 const WebApplicationInfo& web_app, 102 root->SetString(keys::kPublicKey, GenerateKey(web_app.manifest_url)); 103 root->SetString(keys::kName, UTF16ToUTF8(web_app.title)); 105 root->SetString(keys::kDescription, UTF16ToUTF8(web_app.description)); 106 root->SetString(keys::kLaunchWebURL, web_app.app_url.spec()); 108 if (!web_app.launch_container.empty()) 109 root->SetString(keys::kLaunchContainer, web_app.launch_container); 114 for (size_t i = 0; i < web_app.icons.size(); ++i) { 115 std::string size = StringPrintf("%i", web_app.icons[i].width); 124 for (size_t i = 0; i < web_app.permissions.size(); ++i) [all...] |
crx_installer.cc | 28 #include "chrome/browser/web_applications/web_app.h" 185 void CrxInstaller::InstallWebApp(const WebApplicationInfo& web_app) { 189 web_app)); 193 const WebApplicationInfo& web_app) { 196 ConvertWebAppToExtension(web_app, base::Time::Now()));
|
crx_installer.h | 96 void InstallWebApp(const WebApplicationInfo& web_app); 144 void ConvertWebAppOnFileThread(const WebApplicationInfo& web_app);
|
/external/chromium/chrome/browser/ui/web_applications/ |
web_app_ui.h | 15 namespace web_app { namespace 28 } // namespace web_app
|
web_app_ui.cc | 13 #include "chrome/browser/web_applications/web_app.h" 75 web_app::IconInfoList unprocessed_icons_; 95 web_app::GetShortcutInfoForTab(tab_contents_, &shortcut_info_); 96 web_app::GetIconsInfo(tab_contents_->extension_tab_helper()->web_app_info(), 98 file_name_ = web_app::internals::GetSanitizedFileName(shortcut_info_.title); 221 FilePath web_app_path = web_app::internals::GetWebAppDataDirectory( 222 web_app::GetDataDir(profile_path_), shortcut_info_); 234 web_app::internals::CheckAndSaveIcon(icon_file, shortcut_info_.favicon); 241 UTF8ToWide(web_app::GenerateApplicationNameFromURL(shortcut_info_.url)), 290 namespace web_app { namespace [all...] |
/external/chromium/chrome/browser/web_applications/ |
web_app_unittest.cc | 5 #include "chrome/browser/web_applications/web_app.h" 54 web_app::GetShortcutInfoForTab(contents_wrapper(), &info); 63 FilePath result = web_app::GetDataDir(test_path);
|
web_app.cc | 5 #include "chrome/browser/web_applications/web_app.h" 69 web_app::GenerateApplicationNameFromExtensionId(info.extension_id); 156 web_app::CreateShortcutCallback* callback); 161 CreateShortcutCallbackTask(web_app::CreateShortcutCallback* callback, 173 web_app::CreateShortcutCallback* callback_; 193 web_app::CreateShortcutCallback* callback_; 202 web_app::CreateShortcutCallback* callback) 203 : web_app_path_(web_app::internals::GetWebAppDataDirectory( 204 web_app::GetDataDir(profile_path), 310 web_app::internals::GetSanitizedFileName(shortcut_info_.title) 397 namespace web_app { namespace [all...] |
web_app.h | 19 namespace web_app { namespace 80 } // namespace web_app
|
/external/chromium/chrome/browser/ui/views/ |
create_application_shortcut_view.h | 12 #include "chrome/browser/web_applications/web_app.h" 109 web_app::IconInfoList unprocessed_icons_;
|
create_application_shortcut_view.cc | 377 web_app::CreateShortcut(profile_->GetPath(), 418 web_app::GetShortcutInfoForTab(tab_contents_, &shortcut_info_); 422 web_app::GetIconsInfo(app_info, &unprocessed_icons_);
|
/external/chromium/chrome/browser/ |
shell_integration_linux.cc | 33 #include "chrome/browser/web_applications/web_app.h" 430 std::string wmclass = web_app::GetWMClassFromAppName(app_name); 453 web_app::GenerateApplicationNameFromInfo(shortcut_info);
|
shell_integration_win.cc | 22 #include "chrome/browser/web_applications/web_app.h" 230 app_name = UTF8ToWide(web_app::GenerateApplicationNameFromURL( 233 app_name = UTF8ToWide(web_app::GenerateApplicationNameFromExtensionId(
|
shell_integration_unittest.cc | 16 #include "chrome/browser/web_applications/web_app.h" 304 web_app::GenerateApplicationNameFromURL(GURL(test_cases[i].url)),
|
/external/chromium/chrome/browser/ui/gtk/ |
create_application_shortcuts_dialog_gtk.cc | 281 web_app::GetShortcutInfoForTab(tab_contents_, &shortcut_info_);
|
browser_window_gtk.cc | 78 #include "chrome/browser/web_applications/web_app.h" 328 std::string wmclassname = web_app::GetWMClassFromAppName(app_name); [all...] |
/external/chromium/chrome/browser/ui/ |
browser.cc | 97 #include "chrome/browser/web_applications/web_app.h" 565 web_app::GenerateApplicationNameFromExtensionId(extension->id()); 567 app_name = web_app::GenerateApplicationNameFromURL(url); 616 // web_app::UpdateShortcutForTabContents when it sees UPDATE_SHORTCUT as [all...] |