Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(585)

Side by Side Diff: chrome/renderer/web_apps.cc

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/renderer/web_apps.h ('k') | chrome/renderer/webview_color_overlay.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "chrome/renderer/web_apps.h" 5 #include "chrome/renderer/web_apps.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/json/json_reader.h" 11 #include "base/json/json_reader.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/string_split.h" 14 #include "base/strings/string_split.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 #include "chrome/common/chrome_switches.h" 18 #include "chrome/common/chrome_switches.h"
19 #include "chrome/common/web_application_info.h" 19 #include "chrome/common/web_application_info.h"
20 #include "third_party/WebKit/public/platform/WebString.h" 20 #include "third_party/WebKit/public/platform/WebString.h"
21 #include "third_party/WebKit/public/platform/WebURL.h" 21 #include "third_party/WebKit/public/platform/WebURL.h"
22 #include "third_party/WebKit/public/web/WebDocument.h" 22 #include "third_party/WebKit/public/web/WebDocument.h"
23 #include "third_party/WebKit/public/web/WebElement.h" 23 #include "third_party/WebKit/public/web/WebElement.h"
24 #include "third_party/WebKit/public/web/WebFrame.h" 24 #include "third_party/WebKit/public/web/WebFrame.h"
25 #include "third_party/WebKit/public/web/WebNode.h" 25 #include "third_party/WebKit/public/web/WebNode.h"
26 #include "third_party/WebKit/public/web/WebNodeList.h" 26 #include "third_party/WebKit/public/web/WebNodeList.h"
27 #include "ui/gfx/size.h" 27 #include "ui/gfx/geometry/size.h"
28 #include "url/gurl.h" 28 #include "url/gurl.h"
29 29
30 using blink::WebDocument; 30 using blink::WebDocument;
31 using blink::WebElement; 31 using blink::WebElement;
32 using blink::WebFrame; 32 using blink::WebFrame;
33 using blink::WebNode; 33 using blink::WebNode;
34 using blink::WebNodeList; 34 using blink::WebNodeList;
35 using blink::WebString; 35 using blink::WebString;
36 36
37 namespace web_apps { 37 namespace web_apps {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 LowerCaseEqualsASCII(content, "yes") && 173 LowerCaseEqualsASCII(content, "yes") &&
174 app_info->mobile_capable == 174 app_info->mobile_capable ==
175 WebApplicationInfo::MOBILE_CAPABLE_UNSPECIFIED) { 175 WebApplicationInfo::MOBILE_CAPABLE_UNSPECIFIED) {
176 app_info->mobile_capable = WebApplicationInfo::MOBILE_CAPABLE_APPLE; 176 app_info->mobile_capable = WebApplicationInfo::MOBILE_CAPABLE_APPLE;
177 } 177 }
178 } 178 }
179 } 179 }
180 } 180 }
181 181
182 } // namespace web_apps 182 } // namespace web_apps
OLDNEW
« no previous file with comments | « chrome/renderer/web_apps.h ('k') | chrome/renderer/webview_color_overlay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698