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 #include "content/renderer/render_view_impl.h" | 5 #include "content/renderer/render_view_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cmath> | 8 #include <cmath> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 #include "third_party/WebKit/public/web/WebSettings.h" | 180 #include "third_party/WebKit/public/web/WebSettings.h" |
181 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" | 181 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" |
182 #include "third_party/WebKit/public/web/WebView.h" | 182 #include "third_party/WebKit/public/web/WebView.h" |
183 #include "third_party/WebKit/public/web/WebWindowFeatures.h" | 183 #include "third_party/WebKit/public/web/WebWindowFeatures.h" |
184 #include "third_party/WebKit/public/web/default/WebRenderTheme.h" | 184 #include "third_party/WebKit/public/web/default/WebRenderTheme.h" |
185 #include "third_party/icu/source/common/unicode/uchar.h" | 185 #include "third_party/icu/source/common/unicode/uchar.h" |
186 #include "third_party/icu/source/common/unicode/uscript.h" | 186 #include "third_party/icu/source/common/unicode/uscript.h" |
187 #include "ui/base/clipboard/clipboard.h" | 187 #include "ui/base/clipboard/clipboard.h" |
188 #include "ui/base/ui_base_switches_util.h" | 188 #include "ui/base/ui_base_switches_util.h" |
189 #include "ui/events/latency_info.h" | 189 #include "ui/events/latency_info.h" |
| 190 #include "ui/gfx/geometry/point.h" |
190 #include "ui/gfx/native_widget_types.h" | 191 #include "ui/gfx/native_widget_types.h" |
191 #include "ui/gfx/point.h" | |
192 #include "ui/gfx/rect.h" | 192 #include "ui/gfx/rect.h" |
193 #include "ui/gfx/rect_conversions.h" | 193 #include "ui/gfx/rect_conversions.h" |
194 #include "ui/gfx/size_conversions.h" | 194 #include "ui/gfx/size_conversions.h" |
195 #include "ui/shell_dialogs/selected_file_info.h" | 195 #include "ui/shell_dialogs/selected_file_info.h" |
196 #include "v8/include/v8.h" | 196 #include "v8/include/v8.h" |
197 #include "webkit/child/weburlresponse_extradata_impl.h" | 197 #include "webkit/child/weburlresponse_extradata_impl.h" |
198 | 198 |
199 #if defined(OS_ANDROID) | 199 #if defined(OS_ANDROID) |
200 #include <cpu-features.h> | 200 #include <cpu-features.h> |
201 | 201 |
(...skipping 4085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4287 std::vector<gfx::Size> sizes; | 4287 std::vector<gfx::Size> sizes; |
4288 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes); | 4288 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes); |
4289 if (!url.isEmpty()) | 4289 if (!url.isEmpty()) |
4290 urls.push_back( | 4290 urls.push_back( |
4291 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes)); | 4291 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes)); |
4292 } | 4292 } |
4293 SendUpdateFaviconURL(urls); | 4293 SendUpdateFaviconURL(urls); |
4294 } | 4294 } |
4295 | 4295 |
4296 } // namespace content | 4296 } // namespace content |
OLD | NEW |