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/gpu/gpu_data_manager_impl.h" | 5 #include "content/browser/gpu/gpu_data_manager_impl.h" |
6 | 6 |
7 #if defined(OS_MACOSX) | 7 #if defined(OS_MACOSX) |
8 #include <ApplicationServices/ApplicationServices.h> | 8 #include <ApplicationServices/ApplicationServices.h> |
9 #endif // OS_MACOSX | 9 #endif // OS_MACOSX |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/debug/trace_event.h" | 14 #include "base/debug/trace_event.h" |
15 #include "base/file_util.h" | |
16 #include "base/metrics/field_trial.h" | 15 #include "base/metrics/field_trial.h" |
17 #include "base/metrics/histogram.h" | 16 #include "base/metrics/histogram.h" |
18 #include "base/stringprintf.h" | 17 #include "base/stringprintf.h" |
19 #include "base/strings/string_number_conversions.h" | 18 #include "base/strings/string_number_conversions.h" |
20 #include "base/strings/string_piece.h" | 19 #include "base/strings/string_piece.h" |
21 #include "base/sys_info.h" | 20 #include "base/sys_info.h" |
22 #include "base/values.h" | 21 #include "base/values.h" |
23 #include "base/version.h" | 22 #include "base/version.h" |
24 #include "content/browser/gpu/gpu_process_host.h" | 23 #include "content/browser/gpu/gpu_process_host.h" |
25 #include "content/browser/gpu/gpu_util.h" | 24 #include "content/browser/gpu/gpu_util.h" |
(...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
942 | 941 |
943 void GpuDataManagerImpl::Notify3DAPIBlocked(const GURL& url, | 942 void GpuDataManagerImpl::Notify3DAPIBlocked(const GURL& url, |
944 int render_process_id, | 943 int render_process_id, |
945 int render_view_id, | 944 int render_view_id, |
946 ThreeDAPIType requester) { | 945 ThreeDAPIType requester) { |
947 observer_list_->Notify(&GpuDataManagerObserver::DidBlock3DAPIs, | 946 observer_list_->Notify(&GpuDataManagerObserver::DidBlock3DAPIs, |
948 url, render_process_id, render_view_id, requester); | 947 url, render_process_id, render_view_id, requester); |
949 } | 948 } |
950 | 949 |
951 } // namespace content | 950 } // namespace content |
OLD | NEW |