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/browser/tab_contents/navigation_entry.h" | 21 #include "chrome/browser/tab_contents/navigation_entry.h" |
22 #include "chrome/browser/tab_contents/security_style.h" | 22 #include "chrome/browser/tab_contents/security_style.h" |
23 #include "chrome/test/automation/automation_constants.h" | 23 #include "chrome/common/automation_constants.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 | 27 |
28 class GURL; | 28 class GURL; |
29 class Value; | 29 class Value; |
30 namespace IPC { | 30 namespace IPC { |
31 class Message; | 31 class Message; |
32 }; | 32 }; |
33 | 33 |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 // purposes. | 427 // purposes. |
428 void LastObjectRemoved(); | 428 void LastObjectRemoved(); |
429 | 429 |
430 private: | 430 private: |
431 Lock list_lock_; // Protects the observers_list_. | 431 Lock list_lock_; // Protects the observers_list_. |
432 ObserverList<TabProxyDelegate> observers_list_; | 432 ObserverList<TabProxyDelegate> observers_list_; |
433 DISALLOW_COPY_AND_ASSIGN(TabProxy); | 433 DISALLOW_COPY_AND_ASSIGN(TabProxy); |
434 }; | 434 }; |
435 | 435 |
436 #endif // CHROME_TEST_AUTOMATION_TAB_PROXY_H_ | 436 #endif // CHROME_TEST_AUTOMATION_TAB_PROXY_H_ |
OLD | NEW |