OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TAB_PROXY_H_ | 5 #ifndef CHROME_TEST_AUTOMATION_TAB_PROXY_H_ |
6 #define CHROME_TEST_AUTOMATION_TAB_PROXY_H_ | 6 #define CHROME_TEST_AUTOMATION_TAB_PROXY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "build/build_config.h" // NOLINT | 9 #include "build/build_config.h" // NOLINT |
10 | 10 |
11 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
12 #include <wtypes.h> // NOLINT | 12 #include <wtypes.h> // NOLINT |
13 #endif | 13 #endif |
14 | 14 |
15 #include <string> | 15 #include <string> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "base/compiler_specific.h" | 18 #include "base/compiler_specific.h" |
19 #include "base/observer_list.h" | 19 #include "base/observer_list.h" |
20 #include "chrome/browser/download/save_package.h" | 20 #include "chrome/browser/download/save_package.h" |
21 #include "chrome/common/automation_constants.h" | 21 #include "chrome/common/automation_constants.h" |
22 #include "chrome/common/page_type.h" | 22 #include "chrome/common/page_type.h" |
23 #include "chrome/common/security_style.h" | 23 #include "chrome/common/security_style.h" |
24 #include "chrome/test/automation/automation_handle_tracker.h" | 24 #include "chrome/test/automation/automation_handle_tracker.h" |
25 #include "chrome/test/automation/dom_element_proxy.h" | 25 #include "chrome/test/automation/dom_element_proxy.h" |
26 #include "chrome/test/automation/javascript_execution_controller.h" | 26 #include "chrome/test/automation/javascript_execution_controller.h" |
| 27 #include "webkit/glue/window_open_disposition.h" |
27 | 28 |
28 class GURL; | 29 class GURL; |
29 class Value; | 30 class Value; |
30 namespace IPC { | 31 namespace IPC { |
31 class Message; | 32 class Message; |
32 }; | 33 }; |
33 | 34 |
34 enum FindInPageDirection { BACK = 0, FWD = 1 }; | 35 enum FindInPageDirection { BACK = 0, FWD = 1 }; |
35 enum FindInPageCase { IGNORE_CASE = 0, CASE_SENSITIVE = 1 }; | 36 enum FindInPageCase { IGNORE_CASE = 0, CASE_SENSITIVE = 1 }; |
36 // Specifies the font size on a page which is requested by an automation | 37 // Specifies the font size on a page which is requested by an automation |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 // purposes. | 432 // purposes. |
432 void LastObjectRemoved(); | 433 void LastObjectRemoved(); |
433 | 434 |
434 private: | 435 private: |
435 base::Lock list_lock_; // Protects the observers_list_. | 436 base::Lock list_lock_; // Protects the observers_list_. |
436 ObserverList<TabProxyDelegate> observers_list_; | 437 ObserverList<TabProxyDelegate> observers_list_; |
437 DISALLOW_COPY_AND_ASSIGN(TabProxy); | 438 DISALLOW_COPY_AND_ASSIGN(TabProxy); |
438 }; | 439 }; |
439 | 440 |
440 #endif // CHROME_TEST_AUTOMATION_TAB_PROXY_H_ | 441 #endif // CHROME_TEST_AUTOMATION_TAB_PROXY_H_ |
OLD | NEW |