OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CC_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ | 5 #ifndef CC_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ |
6 #define CC_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ | 6 #define CC_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "cc/cc_export.h" | 9 #include "cc/base/cc_export.h" |
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 | 13 |
14 // WebGraphicsContext3D base class for use in unit tests. | 14 // WebGraphicsContext3D base class for use in unit tests. |
15 // All operations are no-ops (returning 0 if necessary). | 15 // All operations are no-ops (returning 0 if necessary). |
16 class CC_EXPORT FakeWebGraphicsContext3D : | 16 class CC_EXPORT FakeWebGraphicsContext3D : |
17 public NON_EXPORTED_BASE(WebKit::WebGraphicsContext3D) { | 17 public NON_EXPORTED_BASE(WebKit::WebGraphicsContext3D) { |
18 public: | 18 public: |
19 FakeWebGraphicsContext3D(); | 19 FakeWebGraphicsContext3D(); |
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
580 virtual void setContextLostCallback( | 580 virtual void setContextLostCallback( |
581 WebGraphicsContextLostCallback* callback); | 581 WebGraphicsContextLostCallback* callback); |
582 | 582 |
583 virtual void loseContextCHROMIUM(WebKit::WGC3Denum current, | 583 virtual void loseContextCHROMIUM(WebKit::WGC3Denum current, |
584 WebKit::WGC3Denum other); | 584 WebKit::WGC3Denum other); |
585 }; | 585 }; |
586 | 586 |
587 } // namespace cc | 587 } // namespace cc |
588 | 588 |
589 #endif // CC_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ | 589 #endif // CC_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ |
OLD | NEW |