OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_EXO_SURFACE_H_ | 5 #ifndef COMPONENTS_EXO_SURFACE_H_ |
6 #define COMPONENTS_EXO_SURFACE_H_ | 6 #define COMPONENTS_EXO_SURFACE_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <memory> | 9 #include <memory> |
10 #include <set> | 10 #include <set> |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
18 #include "cc/resources/transferable_resource.h" | 18 #include "cc/resources/transferable_resource.h" |
19 #include "cc/scheduler/begin_frame_source.h" | 19 #include "cc/scheduler/begin_frame_source.h" |
20 #include "cc/surfaces/surface_factory_client.h" | 20 #include "cc/surfaces/surface_factory_client.h" |
| 21 #include "cc/surfaces/surface_info.h" |
21 #include "third_party/skia/include/core/SkRegion.h" | 22 #include "third_party/skia/include/core/SkRegion.h" |
22 #include "third_party/skia/include/core/SkXfermode.h" | 23 #include "third_party/skia/include/core/SkXfermode.h" |
23 #include "ui/aura/window.h" | 24 #include "ui/aura/window.h" |
24 #include "ui/aura/window_observer.h" | 25 #include "ui/aura/window_observer.h" |
25 #include "ui/gfx/geometry/rect.h" | 26 #include "ui/gfx/geometry/rect.h" |
26 | 27 |
27 namespace base { | 28 namespace base { |
28 namespace trace_event { | 29 namespace trace_event { |
29 class TracedValue; | 30 class TracedValue; |
30 } | 31 } |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 | 423 |
423 // Surface observer list. Surface does not own the observers. | 424 // Surface observer list. Surface does not own the observers. |
424 base::ObserverList<SurfaceObserver, true> observers_; | 425 base::ObserverList<SurfaceObserver, true> observers_; |
425 | 426 |
426 DISALLOW_COPY_AND_ASSIGN(Surface); | 427 DISALLOW_COPY_AND_ASSIGN(Surface); |
427 }; | 428 }; |
428 | 429 |
429 } // namespace exo | 430 } // namespace exo |
430 | 431 |
431 #endif // COMPONENTS_EXO_SURFACE_H_ | 432 #endif // COMPONENTS_EXO_SURFACE_H_ |
OLD | NEW |