| 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 #include "content/renderer/browser_plugin/browser_plugin_browsertest.h" | 5 #include "content/renderer/browser_plugin/browser_plugin_browsertest.h" |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/memory/singleton.h" | 8 #include "base/memory/singleton.h" |
| 9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
| 10 #include "base/pickle.h" | 10 #include "base/pickle.h" |
| 11 #include "content/public/common/content_constants.h" | 11 #include "content/public/common/content_constants.h" |
| 12 #include "content/renderer/browser_plugin/browser_plugin.h" | 12 #include "content/renderer/browser_plugin/browser_plugin.h" |
| 13 #include "content/renderer/browser_plugin/browser_plugin_manager_factory.h" | 13 #include "content/renderer/browser_plugin/browser_plugin_manager_factory.h" |
| 14 #include "content/renderer/browser_plugin/mock_browser_plugin.h" | 14 #include "content/renderer/browser_plugin/mock_browser_plugin.h" |
| 15 #include "content/renderer/browser_plugin/mock_browser_plugin_manager.h" | 15 #include "content/renderer/browser_plugin/mock_browser_plugin_manager.h" |
| 16 #include "content/renderer/render_thread_impl.h" | 16 #include "content/renderer/render_thread_impl.h" |
| 17 #include "content/renderer/renderer_webkitplatformsupport_impl.h" | 17 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
| 18 #include "skia/ext/platform_canvas.h" | 18 #include "skia/ext/platform_canvas.h" |
| 19 #include "third_party/WebKit/public/web/WebCursorInfo.h" | 19 #include "third_party/WebKit/public/platform/WebCursorInfo.h" |
| 20 #include "third_party/WebKit/public/web/WebInputEvent.h" | 20 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 21 #include "third_party/WebKit/public/web/WebScriptSource.h" | 21 #include "third_party/WebKit/public/web/WebScriptSource.h" |
| 22 | 22 |
| 23 namespace { | 23 namespace { |
| 24 const char kHTMLForBrowserPluginObject[] = | 24 const char kHTMLForBrowserPluginObject[] = |
| 25 "<object id='browserplugin' width='640px' height='480px'" | 25 "<object id='browserplugin' width='640px' height='480px'" |
| 26 " src='foo' type='%s'>"; | 26 " src='foo' type='%s'>"; |
| 27 | 27 |
| 28 const char kHTMLForBrowserPluginWithAllAttributes[] = | 28 const char kHTMLForBrowserPluginWithAllAttributes[] = |
| 29 "<object id='browserplugin' width='640' height='480' type='%s'" | 29 "<object id='browserplugin' width='640' height='480' type='%s'" |
| (...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 623 // These value are not populated (as an optimization) if autosize is | 623 // These value are not populated (as an optimization) if autosize is |
| 624 // disabled. | 624 // disabled. |
| 625 EXPECT_EQ(0, auto_size_params.min_size.width()); | 625 EXPECT_EQ(0, auto_size_params.min_size.width()); |
| 626 EXPECT_EQ(0, auto_size_params.min_size.height()); | 626 EXPECT_EQ(0, auto_size_params.min_size.height()); |
| 627 EXPECT_EQ(0, auto_size_params.max_size.width()); | 627 EXPECT_EQ(0, auto_size_params.max_size.width()); |
| 628 EXPECT_EQ(0, auto_size_params.max_size.height()); | 628 EXPECT_EQ(0, auto_size_params.max_size.height()); |
| 629 } | 629 } |
| 630 } | 630 } |
| 631 | 631 |
| 632 } // namespace content | 632 } // namespace content |
| OLD | NEW |