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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 #include "third_party/skia/include/core/SkBitmap.h" | 84 #include "third_party/skia/include/core/SkBitmap.h" |
85 #include "ui/base/clipboard/clipboard.h" | 85 #include "ui/base/clipboard/clipboard.h" |
86 #include "ui/base/device_form_factor.h" | 86 #include "ui/base/device_form_factor.h" |
87 #include "ui/base/touch/touch_device.h" | 87 #include "ui/base/touch/touch_device.h" |
88 #include "ui/base/ui_base_switches.h" | 88 #include "ui/base/ui_base_switches.h" |
89 #include "ui/display/display_switches.h" | 89 #include "ui/display/display_switches.h" |
90 #include "ui/gfx/animation/animation.h" | 90 #include "ui/gfx/animation/animation.h" |
91 #include "ui/gfx/color_space.h" | 91 #include "ui/gfx/color_space.h" |
92 #include "ui/gfx/image/image_skia.h" | 92 #include "ui/gfx/image/image_skia.h" |
93 #include "ui/gfx/native_widget_types.h" | 93 #include "ui/gfx/native_widget_types.h" |
94 #include "ui/native_theme/native_theme_switches.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 using base::TimeDelta; | 103 using base::TimeDelta; |
104 using blink::WebConsoleMessage; | 104 using blink::WebConsoleMessage; |
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
953 } | 953 } |
954 | 954 |
955 void RenderViewHostImpl::ClosePageTimeout() { | 955 void RenderViewHostImpl::ClosePageTimeout() { |
956 if (delegate_->ShouldIgnoreUnresponsiveRenderer()) | 956 if (delegate_->ShouldIgnoreUnresponsiveRenderer()) |
957 return; | 957 return; |
958 | 958 |
959 ClosePageIgnoringUnloadEvents(); | 959 ClosePageIgnoringUnloadEvents(); |
960 } | 960 } |
961 | 961 |
962 } // namespace content | 962 } // namespace content |
OLD | NEW |