| 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 CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_ |
| 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "cc/layers/texture_layer.h" | 12 #include "cc/layers/texture_layer.h" |
| 13 #include "cc/layers/texture_layer_client.h" | 13 #include "cc/layers/texture_layer_client.h" |
| 14 #include "content/public/test/layouttest_support.h" | 14 #include "content/public/test/layouttest_support.h" |
| 15 #include "third_party/WebKit/public/platform/WebExternalTextureLayer.h" | 15 #include "third_party/WebKit/public/platform/WebExternalTextureLayer.h" |
| 16 #include "third_party/WebKit/public/platform/WebExternalTextureLayerClient.h" | 16 #include "third_party/WebKit/public/platform/WebExternalTextureLayerClient.h" |
| 17 #include "third_party/WebKit/public/platform/WebExternalTextureMailbox.h" | 17 #include "third_party/WebKit/public/platform/WebExternalTextureMailbox.h" |
| 18 #include "third_party/WebKit/public/platform/WebLayer.h" | 18 #include "third_party/WebKit/public/platform/WebLayer.h" |
| 19 #include "third_party/WebKit/public/web/WebPlugin.h" | 19 #include "third_party/WebKit/public/web/WebPlugin.h" |
| 20 #include "third_party/WebKit/public/web/WebPluginContainer.h" | 20 #include "third_party/WebKit/public/web/WebPluginContainer.h" |
| 21 | 21 |
| 22 namespace blink { | 22 namespace blink { |
| 23 class WebFrame; | 23 class WebFrame; |
| 24 class WebGraphicsContext3D; |
| 24 class WebLayer; | 25 class WebLayer; |
| 26 struct WebPluginParams; |
| 25 } | 27 } |
| 26 | 28 |
| 27 namespace content { | 29 namespace content { |
| 28 | 30 |
| 29 class WebTestDelegate; | 31 class WebTestDelegate; |
| 30 | 32 |
| 31 // A fake implemention of blink::WebPlugin for testing purposes. | 33 // A fake implemention of blink::WebPlugin for testing purposes. |
| 32 // | 34 // |
| 33 // It uses WebGraphicsContext3D to paint a scene consisiting of a primitive | 35 // It uses WebGraphicsContext3D to paint a scene consisiting of a primitive |
| 34 // over a background. The primitive and background can be customized using | 36 // over a background. The primitive and background can be customized using |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 | 168 |
| 167 bool is_persistent_; | 169 bool is_persistent_; |
| 168 bool can_create_without_renderer_; | 170 bool can_create_without_renderer_; |
| 169 | 171 |
| 170 DISALLOW_COPY_AND_ASSIGN(TestPlugin); | 172 DISALLOW_COPY_AND_ASSIGN(TestPlugin); |
| 171 }; | 173 }; |
| 172 | 174 |
| 173 } // namespace content | 175 } // namespace content |
| 174 | 176 |
| 175 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_ | 177 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_PLUGIN_H_ |
| OLD | NEW |