| 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_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 "base/ref_counted.h" | 20 #include "base/ref_counted.h" |
| 21 #include "chrome/browser/download/save_package.h" | 21 #include "chrome/browser/download/save_package.h" |
| 22 #include "chrome/common/automation_constants.h" | 22 #include "chrome/common/automation_constants.h" |
| 23 #include "chrome/common/page_type.h" | |
| 24 #include "chrome/common/security_style.h" | 23 #include "chrome/common/security_style.h" |
| 25 #include "chrome/test/automation/automation_handle_tracker.h" | 24 #include "chrome/test/automation/automation_handle_tracker.h" |
| 26 #include "chrome/test/automation/dom_element_proxy.h" | 25 #include "chrome/test/automation/dom_element_proxy.h" |
| 27 #include "chrome/test/automation/javascript_execution_controller.h" | 26 #include "chrome/test/automation/javascript_execution_controller.h" |
| 27 #include "content/common/page_type.h" |
| 28 #include "webkit/glue/window_open_disposition.h" | 28 #include "webkit/glue/window_open_disposition.h" |
| 29 | 29 |
| 30 class BrowserProxy; | 30 class BrowserProxy; |
| 31 class GURL; | 31 class GURL; |
| 32 class Value; | 32 class Value; |
| 33 namespace IPC { | 33 namespace IPC { |
| 34 class Message; | 34 class Message; |
| 35 } | 35 } |
| 36 | 36 |
| 37 enum FindInPageDirection { BACK = 0, FWD = 1 }; | 37 enum FindInPageDirection { BACK = 0, FWD = 1 }; |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 // purposes. | 437 // purposes. |
| 438 void LastObjectRemoved(); | 438 void LastObjectRemoved(); |
| 439 | 439 |
| 440 private: | 440 private: |
| 441 base::Lock list_lock_; // Protects the observers_list_. | 441 base::Lock list_lock_; // Protects the observers_list_. |
| 442 ObserverList<TabProxyDelegate> observers_list_; | 442 ObserverList<TabProxyDelegate> observers_list_; |
| 443 DISALLOW_COPY_AND_ASSIGN(TabProxy); | 443 DISALLOW_COPY_AND_ASSIGN(TabProxy); |
| 444 }; | 444 }; |
| 445 | 445 |
| 446 #endif // CHROME_TEST_AUTOMATION_TAB_PROXY_H_ | 446 #endif // CHROME_TEST_AUTOMATION_TAB_PROXY_H_ |
| OLD | NEW |