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_CHROME_FRAME_AUTOMATION_H_ | 5 #ifndef CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ |
6 #define CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ | 6 #define CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlwin.h> | 9 #include <atlwin.h> |
10 #include <string> | 10 #include <string> |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 return AutomationProxy::Send(msg); | 86 return AutomationProxy::Send(msg); |
87 } | 87 } |
88 | 88 |
89 virtual void SendProxyConfig(const std::string& p) { | 89 virtual void SendProxyConfig(const std::string& p) { |
90 AutomationProxy::SendProxyConfig(p); | 90 AutomationProxy::SendProxyConfig(p); |
91 } | 91 } |
92 | 92 |
93 protected: | 93 protected: |
94 friend class AutomationProxyCacheEntry; | 94 friend class AutomationProxyCacheEntry; |
95 ChromeFrameAutomationProxyImpl(AutomationProxyCacheEntry* entry, | 95 ChromeFrameAutomationProxyImpl(AutomationProxyCacheEntry* entry, |
| 96 std::string channel_id, |
96 int launch_timeout); | 97 int launch_timeout); |
97 | 98 |
98 class CFMsgDispatcher; | 99 class CFMsgDispatcher; |
99 class TabProxyNotificationMessageFilter; | 100 class TabProxyNotificationMessageFilter; |
100 | 101 |
101 scoped_refptr<CFMsgDispatcher> sync_; | 102 scoped_refptr<CFMsgDispatcher> sync_; |
102 scoped_refptr<TabProxyNotificationMessageFilter> message_filter_; | 103 scoped_refptr<TabProxyNotificationMessageFilter> message_filter_; |
103 AutomationProxyCacheEntry* proxy_entry_; | 104 AutomationProxyCacheEntry* proxy_entry_; |
104 }; | 105 }; |
105 | 106 |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 // set to true if the host needs to get notified of all top level navigations | 559 // set to true if the host needs to get notified of all top level navigations |
559 // in this page. This typically applies to hosts which would render the new | 560 // in this page. This typically applies to hosts which would render the new |
560 // page without chrome frame. Defaults to false. | 561 // page without chrome frame. Defaults to false. |
561 bool route_all_top_level_navigations_; | 562 bool route_all_top_level_navigations_; |
562 | 563 |
563 friend class BeginNavigateContext; | 564 friend class BeginNavigateContext; |
564 friend class CreateExternalTabContext; | 565 friend class CreateExternalTabContext; |
565 }; | 566 }; |
566 | 567 |
567 #endif // CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ | 568 #endif // CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ |
OLD | NEW |