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 #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 | 7 |
8 #include "build/build_config.h" // NOLINT | 8 #include "build/build_config.h" // NOLINT |
9 | 9 |
10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
11 #include <wtypes.h> // NOLINT | 11 #include <wtypes.h> // NOLINT |
12 #endif | 12 #endif |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
19 #include "base/observer_list.h" | 19 #include "base/observer_list.h" |
20 #include "chrome/common/automation_constants.h" | 20 #include "chrome/common/automation_constants.h" |
21 #include "chrome/test/automation/automation_handle_tracker.h" | 21 #include "chrome/test/automation/automation_handle_tracker.h" |
22 #include "content/public/browser/save_page_type.h" | 22 #include "content/public/browser/save_page_type.h" |
23 #include "content/public/common/page_type.h" | 23 #include "content/public/common/page_type.h" |
24 #include "content/public/common/security_style.h" | 24 #include "content/public/common/security_style.h" |
25 #include "net/base/cert_status_flags.h" | 25 #include "net/base/cert_status_flags.h" |
26 #include "ui/base/keycodes/keyboard_codes.h" | 26 #include "ui/base/keycodes/keyboard_codes.h" |
27 #include "webkit/glue/window_open_disposition.h" | 27 #include "ui/base/window_open_disposition.h" |
28 | 28 |
29 class BrowserProxy; | 29 class BrowserProxy; |
30 class FilePath; | 30 class FilePath; |
31 class GURL; | 31 class GURL; |
32 namespace IPC { | 32 namespace IPC { |
33 class Message; | 33 class Message; |
34 } | 34 } |
35 | 35 |
36 namespace base { | 36 namespace base { |
37 class Value; | 37 class Value; |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 const std::wstring& frame_xpath, | 263 const std::wstring& frame_xpath, |
264 const std::wstring& jscript) WARN_UNUSED_RESULT; | 264 const std::wstring& jscript) WARN_UNUSED_RESULT; |
265 | 265 |
266 private: | 266 private: |
267 base::Lock list_lock_; // Protects the observers_list_. | 267 base::Lock list_lock_; // Protects the observers_list_. |
268 ObserverList<TabProxyDelegate> observers_list_; | 268 ObserverList<TabProxyDelegate> observers_list_; |
269 DISALLOW_COPY_AND_ASSIGN(TabProxy); | 269 DISALLOW_COPY_AND_ASSIGN(TabProxy); |
270 }; | 270 }; |
271 | 271 |
272 #endif // CHROME_TEST_AUTOMATION_TAB_PROXY_H_ | 272 #endif // CHROME_TEST_AUTOMATION_TAB_PROXY_H_ |
OLD | NEW |