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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 2742383006: Display: set color_depth and depth_per_component value based on kEnableHDROutput (Closed)
Patch Set: rebase Created 3 years, 9 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
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 "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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 #include "content/public/common/url_constants.h" 79 #include "content/public/common/url_constants.h"
80 #include "content/public/common/url_utils.h" 80 #include "content/public/common/url_utils.h"
81 #include "media/base/media_switches.h" 81 #include "media/base/media_switches.h"
82 #include "net/base/url_util.h" 82 #include "net/base/url_util.h"
83 #include "net/url_request/url_request_context_getter.h" 83 #include "net/url_request/url_request_context_getter.h"
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/gfx/animation/animation.h" 90 #include "ui/gfx/animation/animation.h"
90 #include "ui/gfx/color_space.h" 91 #include "ui/gfx/color_space.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/native_theme/native_theme_switches.h" 94 #include "ui/native_theme/native_theme_switches.h"
94 #include "url/url_constants.h" 95 #include "url/url_constants.h"
95 96
96 #if defined(OS_WIN) 97 #if defined(OS_WIN)
97 #include "ui/display/win/screen_win.h" 98 #include "ui/display/win/screen_win.h"
98 #include "ui/gfx/geometry/dip_util.h" 99 #include "ui/gfx/geometry/dip_util.h"
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
961 } 962 }
962 963
963 void RenderViewHostImpl::ClosePageTimeout() { 964 void RenderViewHostImpl::ClosePageTimeout() {
964 if (delegate_->ShouldIgnoreUnresponsiveRenderer()) 965 if (delegate_->ShouldIgnoreUnresponsiveRenderer())
965 return; 966 return;
966 967
967 ClosePageIgnoringUnloadEvents(); 968 ClosePageIgnoringUnloadEvents();
968 } 969 }
969 970
970 } // namespace content 971 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/media/media_canplaytype_browsertest.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698