| 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 #ifndef CONTENT_BROWSER_AURA_IMAGE_TRANSPORT_FACTORY_H_ | 5 #ifndef CONTENT_BROWSER_AURA_IMAGE_TRANSPORT_FACTORY_H_ |
| 6 #define CONTENT_BROWSER_AURA_IMAGE_TRANSPORT_FACTORY_H_ | 6 #define CONTENT_BROWSER_AURA_IMAGE_TRANSPORT_FACTORY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
| 14 | 14 |
| 15 namespace gfx { | 15 namespace gfx { |
| 16 class Size; | 16 class Size; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace ui { | 19 namespace ui { |
| 20 class ContextFactory; | 20 class ContextFactory; |
| 21 class Texture; | 21 class Texture; |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace WebKit { | 24 namespace blink { |
| 25 class WebGraphicsContext3D; | 25 class WebGraphicsContext3D; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace content { | 28 namespace content { |
| 29 class GLHelper; | 29 class GLHelper; |
| 30 | 30 |
| 31 // This class provides a way to get notified when surface handles get lost. | 31 // This class provides a way to get notified when surface handles get lost. |
| 32 class CONTENT_EXPORT ImageTransportFactoryObserver { | 32 class CONTENT_EXPORT ImageTransportFactoryObserver { |
| 33 public: | 33 public: |
| 34 virtual ~ImageTransportFactoryObserver() {} | 34 virtual ~ImageTransportFactoryObserver() {} |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 // Blocks waiting for the sync point on the service side. | 97 // Blocks waiting for the sync point on the service side. |
| 98 virtual void WaitSyncPoint(uint32 sync_point) = 0; | 98 virtual void WaitSyncPoint(uint32 sync_point) = 0; |
| 99 | 99 |
| 100 virtual void AddObserver(ImageTransportFactoryObserver* observer) = 0; | 100 virtual void AddObserver(ImageTransportFactoryObserver* observer) = 0; |
| 101 virtual void RemoveObserver(ImageTransportFactoryObserver* observer) = 0; | 101 virtual void RemoveObserver(ImageTransportFactoryObserver* observer) = 0; |
| 102 }; | 102 }; |
| 103 | 103 |
| 104 } // namespace content | 104 } // namespace content |
| 105 | 105 |
| 106 #endif // CONTENT_BROWSER_AURA_IMAGE_TRANSPORT_FACTORY_H_ | 106 #endif // CONTENT_BROWSER_AURA_IMAGE_TRANSPORT_FACTORY_H_ |
| OLD | NEW |