| 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/browser/renderer_host/render_view_host_impl.h" | 5 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 #include "net/base/url_util.h" | 81 #include "net/base/url_util.h" |
| 82 #include "net/url_request/url_request_context_getter.h" | 82 #include "net/url_request/url_request_context_getter.h" |
| 83 #include "third_party/skia/include/core/SkBitmap.h" | 83 #include "third_party/skia/include/core/SkBitmap.h" |
| 84 #include "ui/base/clipboard/clipboard.h" | 84 #include "ui/base/clipboard/clipboard.h" |
| 85 #include "ui/base/device_form_factor.h" | 85 #include "ui/base/device_form_factor.h" |
| 86 #include "ui/base/touch/touch_device.h" | 86 #include "ui/base/touch/touch_device.h" |
| 87 #include "ui/base/ui_base_switches.h" | 87 #include "ui/base/ui_base_switches.h" |
| 88 #include "ui/display/display_switches.h" | 88 #include "ui/display/display_switches.h" |
| 89 #include "ui/gfx/animation/animation.h" | 89 #include "ui/gfx/animation/animation.h" |
| 90 #include "ui/gfx/color_space.h" | 90 #include "ui/gfx/color_space.h" |
| 91 #include "ui/gfx/color_space_switches.h" |
| 91 #include "ui/gfx/image/image_skia.h" | 92 #include "ui/gfx/image/image_skia.h" |
| 92 #include "ui/gfx/native_widget_types.h" | 93 #include "ui/gfx/native_widget_types.h" |
| 93 #include "ui/gfx/switches.h" | |
| 94 #include "ui/native_theme/native_theme_features.h" | 94 #include "ui/native_theme/native_theme_features.h" |
| 95 #include "url/url_constants.h" | 95 #include "url/url_constants.h" |
| 96 | 96 |
| 97 #if defined(OS_WIN) | 97 #if defined(OS_WIN) |
| 98 #include "ui/display/win/screen_win.h" | 98 #include "ui/display/win/screen_win.h" |
| 99 #include "ui/gfx/geometry/dip_util.h" | 99 #include "ui/gfx/geometry/dip_util.h" |
| 100 #include "ui/gfx/platform_font_win.h" | 100 #include "ui/gfx/platform_font_win.h" |
| 101 #endif | 101 #endif |
| 102 | 102 |
| 103 #if !defined(OS_ANDROID) | 103 #if !defined(OS_ANDROID) |
| (...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 942 } | 942 } |
| 943 | 943 |
| 944 void RenderViewHostImpl::ClosePageTimeout() { | 944 void RenderViewHostImpl::ClosePageTimeout() { |
| 945 if (delegate_->ShouldIgnoreUnresponsiveRenderer()) | 945 if (delegate_->ShouldIgnoreUnresponsiveRenderer()) |
| 946 return; | 946 return; |
| 947 | 947 |
| 948 ClosePageIgnoringUnloadEvents(); | 948 ClosePageIgnoringUnloadEvents(); |
| 949 } | 949 } |
| 950 | 950 |
| 951 } // namespace content | 951 } // namespace content |
| OLD | NEW |