| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_UITEST_H_ | 5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_UITEST_H_ |
| 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_UITEST_H_ | 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_UITEST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
| 12 #include "base/time.h" | 12 #include "base/time.h" |
| 13 #include "chrome/test/automation/automation_proxy.h" | 13 #include "chrome/test/automation/automation_proxy.h" |
| 14 #include "chrome/test/ui/ui_test.h" | 14 #include "chrome/test/ui/ui_test.h" |
| 15 #include "gfx/native_widget_types.h" | |
| 16 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
| 17 #include "testing/gmock/include/gmock/gmock.h" | 16 #include "testing/gmock/include/gmock/gmock.h" |
| 17 #include "ui/gfx/native_widget_types.h" |
| 18 | 18 |
| 19 class TabProxy; | 19 class TabProxy; |
| 20 class ExternalTabUITestMockClient; | 20 class ExternalTabUITestMockClient; |
| 21 | 21 |
| 22 // Base class for automation proxy testing. | 22 // Base class for automation proxy testing. |
| 23 class AutomationProxyVisibleTest : public UITest { | 23 class AutomationProxyVisibleTest : public UITest { |
| 24 protected: | 24 protected: |
| 25 AutomationProxyVisibleTest() { | 25 AutomationProxyVisibleTest() { |
| 26 show_window_ = true; | 26 show_window_ = true; |
| 27 } | 27 } |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 protected: | 117 protected: |
| 118 // Filtered Inet will override automation callbacks for network resources. | 118 // Filtered Inet will override automation callbacks for network resources. |
| 119 virtual bool ShouldFilterInet() { | 119 virtual bool ShouldFilterInet() { |
| 120 return false; | 120 return false; |
| 121 } | 121 } |
| 122 ExternalTabUITestMockClient* mock_; | 122 ExternalTabUITestMockClient* mock_; |
| 123 std::string channel_id_; // Channel id of automation proxy. | 123 std::string channel_id_; // Channel id of automation proxy. |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_UITEST_H_ | 126 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_UITEST_H_ |
| OLD | NEW |