| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/gpu/gpu_data_manager_impl_private.h" | 5 #include "content/browser/gpu/gpu_data_manager_impl_private.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "gpu/config/gpu_control_list_jsons.h" | 27 #include "gpu/config/gpu_control_list_jsons.h" |
| 28 #include "gpu/config/gpu_driver_bug_workaround_type.h" | 28 #include "gpu/config/gpu_driver_bug_workaround_type.h" |
| 29 #include "gpu/config/gpu_feature_type.h" | 29 #include "gpu/config/gpu_feature_type.h" |
| 30 #include "gpu/config/gpu_info_collector.h" | 30 #include "gpu/config/gpu_info_collector.h" |
| 31 #include "gpu/config/gpu_util.h" | 31 #include "gpu/config/gpu_util.h" |
| 32 #include "ui/base/ui_base_switches.h" | 32 #include "ui/base/ui_base_switches.h" |
| 33 #include "ui/gl/gl_implementation.h" | 33 #include "ui/gl/gl_implementation.h" |
| 34 #include "ui/gl/gl_switches.h" | 34 #include "ui/gl/gl_switches.h" |
| 35 #include "ui/gl/gpu_switching_manager.h" | 35 #include "ui/gl/gpu_switching_manager.h" |
| 36 #include "webkit/common/webpreferences.h" | 36 #include "webkit/common/webpreferences.h" |
| 37 #include "webkit/plugins/plugin_switches.h" | |
| 38 | 37 |
| 39 #if defined(OS_MACOSX) | 38 #if defined(OS_MACOSX) |
| 40 #include <ApplicationServices/ApplicationServices.h> | 39 #include <ApplicationServices/ApplicationServices.h> |
| 41 #endif // OS_MACOSX | 40 #endif // OS_MACOSX |
| 42 #if defined(OS_WIN) | 41 #if defined(OS_WIN) |
| 43 #include "base/win/windows_version.h" | 42 #include "base/win/windows_version.h" |
| 44 #endif // OS_WIN | 43 #endif // OS_WIN |
| 45 #if defined(OS_ANDROID) | 44 #if defined(OS_ANDROID) |
| 46 #include "ui/gfx/android/device_display_info.h" | 45 #include "ui/gfx/android/device_display_info.h" |
| 47 #endif // OS_ANDROID | 46 #endif // OS_ANDROID |
| (...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1241 void GpuDataManagerImplPrivate::OnGpuProcessInitFailure() { | 1240 void GpuDataManagerImplPrivate::OnGpuProcessInitFailure() { |
| 1242 gpu_process_accessible_ = false; | 1241 gpu_process_accessible_ = false; |
| 1243 gpu_info_.finalized = true; | 1242 gpu_info_.finalized = true; |
| 1244 complete_gpu_info_already_requested_ = true; | 1243 complete_gpu_info_already_requested_ = true; |
| 1245 // Some observers might be waiting. | 1244 // Some observers might be waiting. |
| 1246 NotifyGpuInfoUpdate(); | 1245 NotifyGpuInfoUpdate(); |
| 1247 } | 1246 } |
| 1248 | 1247 |
| 1249 } // namespace content | 1248 } // namespace content |
| 1250 | 1249 |
| OLD | NEW |