Index: webkit/glue/dom_operations.h |
diff --git a/webkit/glue/dom_operations.h b/webkit/glue/dom_operations.h |
index 1c668cff200fae1e1f4de59589fb2a40a6ad6f48..924878fa95d1a9eb81702c512df6b1fb6124703b 100644 |
--- a/webkit/glue/dom_operations.h |
+++ b/webkit/glue/dom_operations.h |
@@ -8,9 +8,7 @@ |
#include <string> |
#include <vector> |
-#include "gfx/size.h" |
#include "googleurl/src/gurl.h" |
-#include "third_party/skia/include/core/SkBitmap.h" |
namespace WebKit { |
class WebDocument; |
@@ -55,57 +53,6 @@ bool GetAllSavableResourceLinksForCurrentPage(WebKit::WebView* view, |
const GURL& page_url, SavableResourcesResult* savable_resources_result, |
const char** savable_schemes); |
-// Structure used when installing a web page as an app. Populated via |
-// GetApplicationInfo. |
-struct WebApplicationInfo { |
- WebApplicationInfo(); |
- ~WebApplicationInfo(); |
- |
- struct IconInfo { |
- GURL url; |
- int width; |
- int height; |
- SkBitmap data; |
- }; |
- |
- // URL to a manifest that defines the application. If specified, all other |
- // attributes are derived from this manifest, and the manifest is the unique |
- // ID of the application. |
- GURL manifest_url; |
- |
- // Title of the application. |
- string16 title; |
- |
- // Description of the application. |
- string16 description; |
- |
- // The launch URL for the app. |
- GURL app_url; |
- |
- // Set of available icons. |
- std::vector<IconInfo> icons; |
- |
- // The permissions the app requests. Only supported with manifest-based apps. |
- std::vector<std::string> permissions; |
- |
- // Set of URLs that comprise the app. Only supported with manifest-based apps. |
- // All these must be of the same origin as manifest_url. |
- std::vector<GURL> urls; |
-}; |
- |
-// Parses the icon's size attribute as defined in the HTML 5 spec. Returns true |
-// on success, false on errors. On success either all the sizes specified in |
-// the attribute are added to sizes, or is_any is set to true. |
-// |
-// You shouldn't have a need to invoke this directly, it's public for testing. |
-bool ParseIconSizes(const string16& text, |
- std::vector<gfx::Size>* sizes, |
- bool* is_any); |
- |
-// Gets the application info for the specified page. See the description of |
-// WebApplicationInfo for details as to where each field comes from. |
-void GetApplicationInfo(WebKit::WebView* view, WebApplicationInfo* app_info); |
- |
// Invokes pauseAnimationAtTime on the AnimationController associated with the |
// |view|s main frame. |
// This is used by test shell. |