OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_RENDERER_WEB_APPS_H_ | 5 #ifndef CHROME_RENDERER_WEB_APPS_H_ |
6 #define CHROME_RENDERER_WEB_APPS_H_ | 6 #define CHROME_RENDERER_WEB_APPS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "ui/gfx/size.h" | 12 #include "ui/gfx/size.h" |
13 | 13 |
14 namespace WebKit { | 14 namespace WebKit { |
15 class WebFrame; | 15 class WebFrame; |
16 } | 16 } |
17 | 17 |
18 struct WebApplicationInfo; | 18 struct WebApplicationInfo; |
19 | 19 |
20 namespace web_apps { | 20 namespace web_apps { |
21 | 21 |
(...skipping 14 matching lines...) Expand all Loading... |
36 // web_app will have manifest_url set and nothing else. The caller must fetch | 36 // web_app will have manifest_url set and nothing else. The caller must fetch |
37 // this URL and pass the result to ParseWebAppFromDefinitionFile() for further | 37 // this URL and pass the result to ParseWebAppFromDefinitionFile() for further |
38 // processing. | 38 // processing. |
39 bool ParseWebAppFromWebDocument(WebKit::WebFrame* frame, | 39 bool ParseWebAppFromWebDocument(WebKit::WebFrame* frame, |
40 WebApplicationInfo* web_app, | 40 WebApplicationInfo* web_app, |
41 string16* error); | 41 string16* error); |
42 | 42 |
43 } // namespace web_apps | 43 } // namespace web_apps |
44 | 44 |
45 #endif // CHROME_RENDERER_WEB_APPS_H_ | 45 #endif // CHROME_RENDERER_WEB_APPS_H_ |
OLD | NEW |