| 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_widget_host_view_mac.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_mac.h" |
| 6 | 6 |
| 7 #include <QuartzCore/QuartzCore.h> | 7 #include <QuartzCore/QuartzCore.h> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/debug/crash_logging.h" | 12 #include "base/debug/crash_logging.h" |
| 13 #include "base/debug/trace_event.h" | 13 #include "base/debug/trace_event.h" |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "base/mac/mac_util.h" | 15 #include "base/mac/mac_util.h" |
| 16 #include "base/mac/scoped_cftyperef.h" | 16 #include "base/mac/scoped_cftyperef.h" |
| 17 #include "base/mac/sdk_forward_declarations.h" | 17 #include "base/mac/sdk_forward_declarations.h" |
| 18 #import "base/memory/scoped_nsobject.h" | 18 #import "base/memory/scoped_nsobject.h" |
| 19 #include "base/message_loop.h" | 19 #include "base/message_loop.h" |
| 20 #include "base/metrics/histogram.h" | 20 #include "base/metrics/histogram.h" |
| 21 #include "base/string_util.h" | 21 #include "base/strings/string_util.h" |
| 22 #include "base/stringprintf.h" | 22 #include "base/strings/stringprintf.h" |
| 23 #include "base/strings/sys_string_conversions.h" | 23 #include "base/strings/sys_string_conversions.h" |
| 24 #include "base/strings/utf_string_conversions.h" | 24 #include "base/strings/utf_string_conversions.h" |
| 25 #include "base/sys_info.h" | 25 #include "base/sys_info.h" |
| 26 #import "content/browser/accessibility/browser_accessibility_cocoa.h" | 26 #import "content/browser/accessibility/browser_accessibility_cocoa.h" |
| 27 #include "content/browser/accessibility/browser_accessibility_manager_mac.h" | 27 #include "content/browser/accessibility/browser_accessibility_manager_mac.h" |
| 28 #include "content/browser/renderer_host/backing_store_mac.h" | 28 #include "content/browser/renderer_host/backing_store_mac.h" |
| 29 #include "content/browser/renderer_host/backing_store_manager.h" | 29 #include "content/browser/renderer_host/backing_store_manager.h" |
| 30 #include "content/browser/renderer_host/compositing_iosurface_context_mac.h" | 30 #include "content/browser/renderer_host/compositing_iosurface_context_mac.h" |
| 31 #include "content/browser/renderer_host/compositing_iosurface_layer_mac.h" | 31 #include "content/browser/renderer_host/compositing_iosurface_layer_mac.h" |
| 32 #include "content/browser/renderer_host/compositing_iosurface_mac.h" | 32 #include "content/browser/renderer_host/compositing_iosurface_mac.h" |
| (...skipping 3522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3555 return YES; | 3555 return YES; |
| 3556 } | 3556 } |
| 3557 | 3557 |
| 3558 - (BOOL)isOpaque { | 3558 - (BOOL)isOpaque { |
| 3559 if (renderWidgetHostView_->use_core_animation_) | 3559 if (renderWidgetHostView_->use_core_animation_) |
| 3560 return YES; | 3560 return YES; |
| 3561 return [super isOpaque]; | 3561 return [super isOpaque]; |
| 3562 } | 3562 } |
| 3563 | 3563 |
| 3564 @end | 3564 @end |
| OLD | NEW |