summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gears_integration.h
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-17 05:14:15 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-17 05:14:15 +0000
commit1631f7c651fbc7f4460a852126f545afc5513531 (patch)
tree7176f3052f69c0c0debf48172d533f9acc4c83d3 /chrome/browser/gears_integration.h
parent42a17153ee389574560b91b185bcec6c4db5b5c3 (diff)
downloadchromium_src-1631f7c651fbc7f4460a852126f545afc5513531.zip
chromium_src-1631f7c651fbc7f4460a852126f545afc5513531.tar.gz
chromium_src-1631f7c651fbc7f4460a852126f545afc5513531.tar.bz2
Implement web app definition parsing.
This required moving some code from webkit/glue to chrome/common/web_apps.cc so that it could rely on chrome/common/json_schema_validator.h. BUG=49233 TEST=Convered by unit tests. Review URL: http://codereview.chromium.org/4979003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gears_integration.h')
-rw-r--r--chrome/browser/gears_integration.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/chrome/browser/gears_integration.h b/chrome/browser/gears_integration.h
index 4723c9b..6461377 100644
--- a/chrome/browser/gears_integration.h
+++ b/chrome/browser/gears_integration.h
@@ -18,9 +18,7 @@
class CPCommandInterface;
class GURL;
class SkBitmap;
-namespace webkit_glue {
struct WebApplicationInfo;
-}
// We use this in place of GearsShortcutData so we can keep browser-specific
// data on the structure.
@@ -40,12 +38,11 @@ void GearsSettingsPressed(gfx::NativeWindow parent_wnd);
typedef Callback2<const GearsShortcutData2&, bool>::Type
GearsCreateShortcutCallback;
-void GearsCreateShortcut(
- const webkit_glue::WebApplicationInfo& app_info,
- const string16& fallback_name,
- const GURL& fallback_url,
- const SkBitmap& fallback_icon,
- GearsCreateShortcutCallback* callback);
+void GearsCreateShortcut(const WebApplicationInfo& app_info,
+ const string16& fallback_name,
+ const GURL& fallback_url,
+ const SkBitmap& fallback_icon,
+ GearsCreateShortcutCallback* callback);
// Call into Gears to query the list of shortcuts. Results will be returned
// asynchronously via the callback. The callback's arguments will be NULL