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

Side by Side Diff: ui/accelerated_widget_mac/accelerated_widget_mac.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
« no previous file with comments | « extensions/browser/app_window/native_app_window.h ('k') | ui/accessibility/ax_node.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <IOSurface/IOSurface.h> 9 #include <IOSurface/IOSurface.h>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/mac/scoped_cftyperef.h" 12 #include "base/mac/scoped_cftyperef.h"
13 #import "base/mac/scoped_nsobject.h" 13 #import "base/mac/scoped_nsobject.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/time/time.h" 15 #include "base/time/time.h"
16 #include "ui/accelerated_widget_mac/accelerated_widget_mac_export.h" 16 #include "ui/accelerated_widget_mac/accelerated_widget_mac_export.h"
17 #include "ui/base/cocoa/remote_layer_api.h" 17 #include "ui/base/cocoa/remote_layer_api.h"
18 #include "ui/gfx/geometry/rect.h" 18 #include "ui/gfx/geometry/rect.h"
19 #include "ui/gfx/geometry/size.h" 19 #include "ui/gfx/geometry/size.h"
20 #include "ui/gfx/native_widget_types.h" 20 #include "ui/gfx/native_widget_types.h"
21 21
22 class SkCanvas;
23
24 namespace cc {
25 class SoftwareFrameData;
26 }
27
28 namespace ui { 22 namespace ui {
29 23
30 class FullscreenLowPowerCoordinator; 24 class FullscreenLowPowerCoordinator;
31 25
32 // A class through which an AcceleratedWidget may be bound to draw the contents 26 // A class through which an AcceleratedWidget may be bound to draw the contents
33 // of an NSView. An AcceleratedWidget may be bound to multiple different views 27 // of an NSView. An AcceleratedWidget may be bound to multiple different views
34 // throughout its lifetime (one at a time, though). 28 // throughout its lifetime (one at a time, though).
35 class AcceleratedWidgetMacNSView { 29 class AcceleratedWidgetMacNSView {
36 public: 30 public:
37 virtual NSView* AcceleratedWidgetGetNSView() const = 0; 31 virtual NSView* AcceleratedWidgetGetNSView() const = 0;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 106
113 // The size in DIP of the last swap received from |compositor_|. 107 // The size in DIP of the last swap received from |compositor_|.
114 gfx::Size last_swap_size_dip_; 108 gfx::Size last_swap_size_dip_;
115 109
116 DISALLOW_COPY_AND_ASSIGN(AcceleratedWidgetMac); 110 DISALLOW_COPY_AND_ASSIGN(AcceleratedWidgetMac);
117 }; 111 };
118 112
119 } // namespace ui 113 } // namespace ui
120 114
121 #endif // UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_H_ 115 #endif // UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_H_
OLDNEW
« no previous file with comments | « extensions/browser/app_window/native_app_window.h ('k') | ui/accessibility/ax_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698