| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_GETURL_TEST_H_ | 5 #ifndef WEBKIT_PORT_PLUGINS_TEST_PLUGIN_GETURL_TEST_H__ |
| 6 #define WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_GETURL_TEST_H_ | 6 #define WEBKIT_PORT_PLUGINS_TEST_PLUGIN_GETURL_TEST_H__ |
| 7 | 7 |
| 8 #include <stdio.h> | 8 #include <stdio.h> |
| 9 | 9 |
| 10 #include "webkit/plugins/npapi/test/plugin_test.h" | 10 #include "webkit/glue/plugins/test/plugin_test.h" |
| 11 | 11 |
| 12 namespace NPAPIClient { | 12 namespace NPAPIClient { |
| 13 | 13 |
| 14 // The PluginGetURLTest test functionality of the NPN_GetURL | 14 // The PluginGetURLTest test functionality of the NPN_GetURL |
| 15 // and NPN_GetURLNotify methods. | 15 // and NPN_GetURLNotify methods. |
| 16 // | 16 // |
| 17 // This test first discovers it's URL by sending a GetURL request | 17 // This test first discovers it's URL by sending a GetURL request |
| 18 // for 'javascript:top.location'. After receiving that, the | 18 // for 'javascript:top.location'. After receiving that, the |
| 19 // test will request the url itself (again via GetURL). | 19 // test will request the url itself (again via GetURL). |
| 20 class PluginGetURLTest : public PluginTest { | 20 class PluginGetURLTest : public PluginTest { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 49 bool npn_evaluate_context_; | 49 bool npn_evaluate_context_; |
| 50 // The following two flags handle URL redirect notifications received by | 50 // The following two flags handle URL redirect notifications received by |
| 51 // plugins. | 51 // plugins. |
| 52 bool handle_url_redirects_; | 52 bool handle_url_redirects_; |
| 53 bool received_url_redirect_notification_; | 53 bool received_url_redirect_notification_; |
| 54 std::string page_not_found_url_; | 54 std::string page_not_found_url_; |
| 55 std::string fail_write_url_; | 55 std::string fail_write_url_; |
| 56 std::string referrer_target_url_; | 56 std::string referrer_target_url_; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace NPAPIClient | 59 } // namespace NPAPIClient |
| 60 | 60 |
| 61 #endif // WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_GETURL_TEST_H_ | 61 #endif // WEBKIT_PORT_PLUGINS_TEST_PLUGIN_GETURL_TEST_H__ |
| OLD | NEW |