HomeSort by relevance Sort by last modified time
    Searched refs:web_app (Results 1 - 25 of 66) sorted by null

1 2 3

  /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...]
  /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.h 96 void InstallWebApp(const WebApplicationInfo& web_app);
144 void ConvertWebAppOnFileThread(const WebApplicationInfo& web_app);
  /external/chromium_org/chrome/browser/extensions/
convert_web_app_unittest.cc 100 WebApplicationInfo web_app; local
101 web_app.manifest_url = GURL("http://aaronboodman.com/gearpad/manifest.json");
102 web_app.title = ASCIIToUTF16("Gearpad");
103 web_app.description = ASCIIToUTF16("The best text editor in the universe!");
104 web_app.app_url = GURL("http://aaronboodman.com/gearpad/");
105 web_app.permissions.push_back("geolocation");
106 web_app.permissions.push_back("notifications");
107 web_app.urls.push_back(GURL("http://aaronboodman.com/gearpad/"));
112 web_app.app_url.Resolve(base::StringPrintf("%i.png", sizes[i])));
113 web_app.icons.push_back(GetIconInfo(icon_url, sizes[i]))
161 WebApplicationInfo web_app; local
    [all...]
convert_web_app.cc 88 const WebApplicationInfo& web_app,
106 if (!web_app.is_bookmark_app)
107 root->SetString(keys::kPublicKey, GenerateKey(web_app.manifest_url));
109 root->SetString(keys::kPublicKey, GenerateKey(web_app.app_url));
111 if (web_app.is_offline_enabled)
114 root->SetString(keys::kName, UTF16ToUTF8(web_app.title));
116 root->SetString(keys::kDescription, UTF16ToUTF8(web_app.description));
117 root->SetString(keys::kLaunchWebURL, web_app.app_url.spec());
119 if (!web_app.launch_container.empty())
120 root->SetString(keys::kLaunchContainer, web_app.launch_container)
    [all...]
  /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_org/chrome/browser/web_applications/
web_app_win.h 15 namespace web_app { namespace
30 } // namespace web_app
web_app_android.cc 5 #include "chrome/browser/web_applications/web_app.h"
7 namespace web_app { namespace
30 } // namespace web_app
web_app_chromeos.cc 5 #include "chrome/browser/web_applications/web_app.h"
7 namespace web_app { namespace
30 } // namespace web_app
web_app_unittest.cc 5 #include "chrome/browser/web_applications/web_app.h"
47 web_app::GetShortcutInfoForTab(web_contents(), &info);
57 web_app::GetWebAppDataDirectory(profile_path, "123", GURL()));
65 base::FilePath result(web_app::GetWebAppDataDirectory(
web_app.cc 5 #include "chrome/browser/web_applications/web_app.h"
38 base::FilePath shortcut_data_dir = web_app::GetWebAppDataDirectory(
40 return web_app::internals::DeletePlatformShortcuts(
49 base::FilePath shortcut_data_dir = web_app::GetWebAppDataDirectory(
51 return web_app::internals::UpdatePlatformShortcuts(
57 namespace web_app { namespace
119 return web_app::GenerateApplicationNameFromExtensionId(
122 return web_app::GenerateApplicationNameFromURL(
136 std::string t(web_app::kCrxAppPrefix);
237 } // namespace web_app
    [all...]
web_app_win.cc 20 #include "chrome/browser/web_applications/web_app.h"
137 Append(web_app::internals::GetSanitizedFileName(shortcut_name)).
167 web_app::ShortcutCreationReason creation_reason,
177 web_app::internals::GetSanitizedFileName(shortcut_info.title);
182 if (!web_app::internals::CheckAndSaveIcon(icon_file, shortcut_info.favicon)) {
211 std::string app_name(web_app::GenerateApplicationNameFromInfo(shortcut_info));
219 if (creation_reason == web_app::SHORTCUT_CREATION_AUTOMATED) {
291 std::vector<base::FilePath> all_paths = web_app::internals::GetShortcutPaths(
330 namespace web_app { namespace
396 web_app::internals::GetSanitizedFileName(shortcut_info.title)
    [all...]
web_app_linux.cc 5 #include "chrome/browser/web_applications/web_app.h"
12 namespace web_app { namespace
68 } // namespace web_app
web_app_mac.h 15 #include "chrome/browser/web_applications/web_app.h"
17 namespace web_app { namespace
20 // web_app::CreateShortcuts().
109 } // 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 22 #include "chrome/browser/web_applications/web_app.h"
47 web_app::CreateShortcuts(shortcut_info, creation_locations,
48 web_app::SHORTCUT_CREATION_AUTOMATED);
130 create_or_update = base::Bind(&web_app::UpdateAllShortcuts,
136 web_app::UpdateShortcutInfoAndIconForApp(*extension, profile_,
158 base::Bind(&web_app::internals::DeleteAllShortcutsForProfile,
193 web_app::UpdateShortcutInfoAndIconForApp(
201 web_app::ShortcutInfoForExtensionAndProfile(extension, profile_);
202 web_app::DeleteAllShortcuts(delete_info);
  /external/chromium_org/chrome/browser/ui/web_applications/
web_app_ui.h 23 namespace web_app { namespace
54 } // namespace web_app
web_app_ui.cc 20 #include "chrome/browser/web_applications/web_app.h"
122 web_app::IconInfoList unprocessed_icons_;
145 web_app::GetShortcutInfoForTab(web_contents_, &shortcut_info_);
146 web_app::GetIconsInfo(extensions_tab_helper->web_app_info(),
148 file_name_ = web_app::internals::GetSanitizedFileName(shortcut_info_.title);
283 base::FilePath web_app_path = web_app::GetWebAppDataDirectory(
296 web_app::internals::CheckAndSaveIcon(icon_file, shortcut_info_.favicon);
303 UTF8ToWide(web_app::GenerateApplicationNameFromURL(shortcut_info_.url)),
346 web_app::ShortcutInfoCallback callback,
385 namespace web_app { namespace
    [all...]
  /external/chromium/chrome/browser/web_applications/
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_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.h 19 namespace web_app { namespace
80 } // namespace web_app

Completed in 4440 milliseconds

1 2 3