| 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_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_ |
| 6 #define CONTENT_BROWSER_AURA_IMAGE_TRANSPORT_FACTORY_H_ | 6 #define CONTENT_BROWSER_COMPOSITOR_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; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // GLHelper will get destroyed whenever the shared context is lost | 84 // GLHelper will get destroyed whenever the shared context is lost |
| 85 // (ImageTransportFactoryObserver::OnLostResources is called). | 85 // (ImageTransportFactoryObserver::OnLostResources is called). |
| 86 virtual GLHelper* GetGLHelper() = 0; | 86 virtual GLHelper* GetGLHelper() = 0; |
| 87 | 87 |
| 88 virtual void AddObserver(ImageTransportFactoryObserver* observer) = 0; | 88 virtual void AddObserver(ImageTransportFactoryObserver* observer) = 0; |
| 89 virtual void RemoveObserver(ImageTransportFactoryObserver* observer) = 0; | 89 virtual void RemoveObserver(ImageTransportFactoryObserver* observer) = 0; |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace content | 92 } // namespace content |
| 93 | 93 |
| 94 #endif // CONTENT_BROWSER_AURA_IMAGE_TRANSPORT_FACTORY_H_ | 94 #endif // CONTENT_BROWSER_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_ |
| OLD | NEW |