| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_H_ | 5 #ifndef UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_H_ |
| 6 #define UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_H_ | 6 #define UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_H_ |
| 7 | 7 |
| 8 #include <IOSurface/IOSurfaceAPI.h> | 8 #include <IOSurface/IOSurface.h> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "ui/accelerated_widget_mac/accelerated_widget_mac_export.h" | 11 #include "ui/accelerated_widget_mac/accelerated_widget_mac_export.h" |
| 12 #include "ui/events/latency_info.h" | 12 #include "ui/events/latency_info.h" |
| 13 #include "ui/gfx/geometry/rect.h" | 13 #include "ui/gfx/geometry/rect.h" |
| 14 #include "ui/gfx/geometry/size.h" | 14 #include "ui/gfx/geometry/size.h" |
| 15 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
| 16 | 16 |
| 17 #if defined(__OBJC__) | 17 #if defined(__OBJC__) |
| 18 #import <Cocoa/Cocoa.h> | 18 #import <Cocoa/Cocoa.h> |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 const base::Closure& drawn_callback, | 163 const base::Closure& drawn_callback, |
| 164 bool* disable_throttling, int* renderer_id); | 164 bool* disable_throttling, int* renderer_id); |
| 165 | 165 |
| 166 ACCELERATED_WIDGET_MAC_EXPORT | 166 ACCELERATED_WIDGET_MAC_EXPORT |
| 167 void AcceleratedWidgetMacGotSoftwareFrame( | 167 void AcceleratedWidgetMacGotSoftwareFrame( |
| 168 gfx::AcceleratedWidget widget, float scale_factor, SkCanvas* canvas); | 168 gfx::AcceleratedWidget widget, float scale_factor, SkCanvas* canvas); |
| 169 | 169 |
| 170 } // namespace ui | 170 } // namespace ui |
| 171 | 171 |
| 172 #endif // UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_H_ | 172 #endif // UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_H_ |
| OLD | NEW |