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