| 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_FRAME_CFPROXY_H_ | 5 #ifndef CHROME_FRAME_CFPROXY_H_ |
| 6 #define CHROME_FRAME_CFPROXY_H_ | 6 #define CHROME_FRAME_CFPROXY_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <windows.h> | 9 #include <windows.h> |
| 10 #include <map> // for proxy factory | 10 #include <map> // for proxy factory |
| 11 #include <vector> | 11 #include <vector> |
| 12 #include <string> | 12 #include <string> |
| 13 #include "base/lock.h" | 13 #include "base/lock.h" |
| 14 #include "base/time.h" // for base::TimeDelta | 14 #include "base/time.h" // for base::TimeDelta |
| 15 #include "base/file_path.h" | 15 #include "base/file_path.h" |
| 16 #include "chrome/common/automation_constants.h" |
| 16 #include "chrome/common/page_zoom.h" | 17 #include "chrome/common/page_zoom.h" |
| 17 #include "chrome/test/automation/automation_constants.h" | |
| 18 | 18 |
| 19 enum FindInPageDirection { BACK = 0, FWD = 1 }; | 19 enum FindInPageDirection { BACK = 0, FWD = 1 }; |
| 20 enum FindInPageCase { IGNORE_CASE = 0, CASE_SENSITIVE = 1 }; | 20 enum FindInPageCase { IGNORE_CASE = 0, CASE_SENSITIVE = 1 }; |
| 21 // Specifies the font size on a page which is requested by an automation | 21 // Specifies the font size on a page which is requested by an automation |
| 22 // client. | 22 // client. |
| 23 enum AutomationPageFontSize { | 23 enum AutomationPageFontSize { |
| 24 SMALLEST_FONT = 8, | 24 SMALLEST_FONT = 8, |
| 25 SMALL_FONT = 12, | 25 SMALL_FONT = 12, |
| 26 MEDIUM_FONT = 16, | 26 MEDIUM_FONT = 16, |
| 27 LARGE_FONT = 24, | 27 LARGE_FONT = 24, |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 void GetProxy(ChromeProxyDelegate* delegate, const ProxyParams& params); | 221 void GetProxy(ChromeProxyDelegate* delegate, const ProxyParams& params); |
| 222 bool ReleaseProxy(ChromeProxyDelegate* delegate, const std::string& profile); | 222 bool ReleaseProxy(ChromeProxyDelegate* delegate, const std::string& profile); |
| 223 protected: | 223 protected: |
| 224 virtual ChromeProxy* CreateProxy(); | 224 virtual ChromeProxy* CreateProxy(); |
| 225 typedef std::map<std::string, ChromeProxy*> ProxyMap; | 225 typedef std::map<std::string, ChromeProxy*> ProxyMap; |
| 226 ProxyMap proxies_; | 226 ProxyMap proxies_; |
| 227 Lock lock_; | 227 Lock lock_; |
| 228 }; | 228 }; |
| 229 | 229 |
| 230 #endif // CHROME_FRAME_CFPROXY_H_ | 230 #endif // CHROME_FRAME_CFPROXY_H_ |
| OLD | NEW |