| 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_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/synchronization/lock.h" | 13 #include "base/synchronization/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/automation_constants.h" |
| 17 #include "chrome/common/page_zoom.h" | 17 #include "content/common/page_zoom.h" |
| 18 #include "ipc/ipc_channel.h" | 18 #include "ipc/ipc_channel.h" |
| 19 | 19 |
| 20 enum FindInPageDirection { BACK = 0, FWD = 1 }; | 20 enum FindInPageDirection { BACK = 0, FWD = 1 }; |
| 21 enum FindInPageCase { IGNORE_CASE = 0, CASE_SENSITIVE = 1 }; | 21 enum FindInPageCase { IGNORE_CASE = 0, CASE_SENSITIVE = 1 }; |
| 22 // Specifies the font size on a page which is requested by an automation | 22 // Specifies the font size on a page which is requested by an automation |
| 23 // client. | 23 // client. |
| 24 enum AutomationPageFontSize { | 24 enum AutomationPageFontSize { |
| 25 SMALLEST_FONT = 8, | 25 SMALLEST_FONT = 8, |
| 26 SMALL_FONT = 12, | 26 SMALL_FONT = 12, |
| 27 MEDIUM_FONT = 16, | 27 MEDIUM_FONT = 16, |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 void GetProxy(ChromeProxyDelegate* delegate, const ProxyParams& params); | 189 void GetProxy(ChromeProxyDelegate* delegate, const ProxyParams& params); |
| 190 bool ReleaseProxy(ChromeProxyDelegate* delegate, const std::string& profile); | 190 bool ReleaseProxy(ChromeProxyDelegate* delegate, const std::string& profile); |
| 191 protected: | 191 protected: |
| 192 virtual ChromeProxy* CreateProxy(); | 192 virtual ChromeProxy* CreateProxy(); |
| 193 typedef std::map<std::string, ChromeProxy*> ProxyMap; | 193 typedef std::map<std::string, ChromeProxy*> ProxyMap; |
| 194 ProxyMap proxies_; | 194 ProxyMap proxies_; |
| 195 base::Lock lock_; | 195 base::Lock lock_; |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 #endif // CHROME_FRAME_CFPROXY_H_ | 198 #endif // CHROME_FRAME_CFPROXY_H_ |
| OLD | NEW |