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/cert/cert_status_flags.h" |
26 #include "ui/base/keycodes/keyboard_codes.h" | 26 #include "ui/base/keycodes/keyboard_codes.h" |
27 #include "ui/base/window_open_disposition.h" | 27 #include "ui/base/window_open_disposition.h" |
28 | 28 |
29 class BrowserProxy; | 29 class BrowserProxy; |
30 class GURL; | 30 class GURL; |
31 | 31 |
32 namespace IPC { | 32 namespace IPC { |
33 class Message; | 33 class Message; |
34 } | 34 } |
35 | 35 |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 const std::wstring& frame_xpath, | 264 const std::wstring& frame_xpath, |
265 const std::wstring& jscript) WARN_UNUSED_RESULT; | 265 const std::wstring& jscript) WARN_UNUSED_RESULT; |
266 | 266 |
267 private: | 267 private: |
268 base::Lock list_lock_; // Protects the observers_list_. | 268 base::Lock list_lock_; // Protects the observers_list_. |
269 ObserverList<TabProxyDelegate> observers_list_; | 269 ObserverList<TabProxyDelegate> observers_list_; |
270 DISALLOW_COPY_AND_ASSIGN(TabProxy); | 270 DISALLOW_COPY_AND_ASSIGN(TabProxy); |
271 }; | 271 }; |
272 | 272 |
273 #endif // CHROME_TEST_AUTOMATION_TAB_PROXY_H_ | 273 #endif // CHROME_TEST_AUTOMATION_TAB_PROXY_H_ |
OLD | NEW |