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_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> |
11 #include <map> | 11 #include <map> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/ref_counted.h" | 14 #include "base/ref_counted.h" |
15 #include "base/scoped_handle.h" | 15 #include "base/scoped_handle.h" |
16 #include "base/stack_container.h" | 16 #include "base/stack_container.h" |
17 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
18 #include "base/task.h" | 18 #include "base/task.h" |
19 #include "base/threading/thread.h" | 19 #include "base/threading/thread.h" |
20 #include "base/timer.h" | 20 #include "base/timer.h" |
| 21 #include "base/win/atlcheck.h" |
21 #include "chrome/test/automation/automation_proxy.h" | 22 #include "chrome/test/automation/automation_proxy.h" |
22 #include "chrome/test/automation/tab_proxy.h" | 23 #include "chrome/test/automation/tab_proxy.h" |
23 #include "chrome_frame/chrome_frame_delegate.h" | 24 #include "chrome_frame/chrome_frame_delegate.h" |
24 #include "chrome_frame/chrome_frame_histograms.h" | 25 #include "chrome_frame/chrome_frame_histograms.h" |
25 #include "chrome_frame/plugin_url_request.h" | 26 #include "chrome_frame/plugin_url_request.h" |
26 #include "chrome_frame/sync_msg_reply_dispatcher.h" | 27 #include "chrome_frame/sync_msg_reply_dispatcher.h" |
27 #include "content/common/page_zoom.h" | 28 #include "content/common/page_zoom.h" |
28 | 29 |
29 // By a convoluated route, this timeout also winds up being the sync automation | 30 // By a convoluated route, this timeout also winds up being the sync automation |
30 // message timeout. See the ChromeFrameAutomationProxyImpl ctor and the | 31 // message timeout. See the ChromeFrameAutomationProxyImpl ctor and the |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 // set to true if the host needs to get notified of all top level navigations | 562 // set to true if the host needs to get notified of all top level navigations |
562 // in this page. This typically applies to hosts which would render the new | 563 // in this page. This typically applies to hosts which would render the new |
563 // page without chrome frame. Defaults to false. | 564 // page without chrome frame. Defaults to false. |
564 bool route_all_top_level_navigations_; | 565 bool route_all_top_level_navigations_; |
565 | 566 |
566 friend class BeginNavigateContext; | 567 friend class BeginNavigateContext; |
567 friend class CreateExternalTabContext; | 568 friend class CreateExternalTabContext; |
568 }; | 569 }; |
569 | 570 |
570 #endif // CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ | 571 #endif // CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ |
OLD | NEW |