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_ACTIVE_DOCUMENT_H_ | 5 #ifndef CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ |
6 #define CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ | 6 #define CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlcom.h> | 9 #include <atlcom.h> |
10 #include <atlctl.h> | 10 #include <atlctl.h> |
11 #include <htiframe.h> | 11 #include <htiframe.h> |
12 #include <mshtmcid.h> | 12 #include <mshtmcid.h> |
13 #include <perhist.h> | 13 #include <perhist.h> |
14 | 14 |
15 #include <map> | 15 #include <map> |
16 #include <string> | 16 #include <string> |
17 | 17 |
18 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
19 #include "base/scoped_comptr_win.h" | |
20 #include "base/threading/thread.h" | 19 #include "base/threading/thread.h" |
| 20 #include "base/win/scoped_comptr.h" |
21 | 21 |
22 #include "chrome_frame/chrome_frame_activex_base.h" | 22 #include "chrome_frame/chrome_frame_activex_base.h" |
23 #include "chrome_frame/com_type_info_holder.h" | 23 #include "chrome_frame/com_type_info_holder.h" |
| 24 #include "chrome_frame/extra_system_apis.h" |
24 #include "chrome_frame/find_dialog.h" | 25 #include "chrome_frame/find_dialog.h" |
25 #include "chrome_frame/html_private_window_impl.h" | 26 #include "chrome_frame/html_private_window_impl.h" |
26 #include "chrome_frame/html_window_impl.h" | 27 #include "chrome_frame/html_window_impl.h" |
27 #include "chrome_frame/in_place_menu.h" | 28 #include "chrome_frame/in_place_menu.h" |
28 #include "chrome_frame/ole_document_impl.h" | 29 #include "chrome_frame/ole_document_impl.h" |
29 #include "chrome_frame/resource.h" | 30 #include "chrome_frame/resource.h" |
30 #include "chrome_frame/extra_system_apis.h" | |
31 #include "chrome_frame/utils.h" | 31 #include "chrome_frame/utils.h" |
32 | 32 |
33 class Thread; | 33 class Thread; |
34 class TabProxy; | 34 class TabProxy; |
35 class ChromeActiveDocument; | 35 class ChromeActiveDocument; |
36 | 36 |
37 // A call to IOleCommandTarget::Exec on the webbrowser with this command id | 37 // A call to IOleCommandTarget::Exec on the webbrowser with this command id |
38 // and a command group of CGID_EXPLORER causes IE to finalize the current | 38 // and a command group of CGID_EXPLORER causes IE to finalize the current |
39 // travel log entry and move to a new location (pruning any forward entries | 39 // travel log entry and move to a new location (pruning any forward entries |
40 // if needed) | 40 // if needed) |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 CommandStatusMap null_group_commands_map_; | 460 CommandStatusMap null_group_commands_map_; |
461 CommandStatusMap mshtml_group_commands_map_; | 461 CommandStatusMap mshtml_group_commands_map_; |
462 CommandStatusMap explorer_group_commands_map_; | 462 CommandStatusMap explorer_group_commands_map_; |
463 CommandStatusMap shdoc_view_group_commands_map_; | 463 CommandStatusMap shdoc_view_group_commands_map_; |
464 | 464 |
465 // Set to true if the automation_client_ member is initialized from | 465 // Set to true if the automation_client_ member is initialized from |
466 // an existing ChromeActiveDocument instance which is going away and | 466 // an existing ChromeActiveDocument instance which is going away and |
467 // a new ChromeActiveDocument instance is taking its place. | 467 // a new ChromeActiveDocument instance is taking its place. |
468 bool is_automation_client_reused_; | 468 bool is_automation_client_reused_; |
469 | 469 |
470 ScopedComPtr<INewWindowManager> popup_manager_; | 470 base::win::ScopedComPtr<INewWindowManager> popup_manager_; |
471 bool popup_allowed_; | 471 bool popup_allowed_; |
472 HACCEL accelerator_table_; | 472 HACCEL accelerator_table_; |
473 | 473 |
474 // Contains privacy data retrieved from the UrlmonUrlRequestManager. This | 474 // Contains privacy data retrieved from the UrlmonUrlRequestManager. This |
475 // is used to return privacy data in response to the View->Privacy policy | 475 // is used to return privacy data in response to the View->Privacy policy |
476 // command. | 476 // command. |
477 UrlmonUrlRequestManager::PrivacyInfo privacy_info_; | 477 UrlmonUrlRequestManager::PrivacyInfo privacy_info_; |
478 UrlmonUrlRequestManager::PrivacyInfo::PrivacyRecords::iterator | 478 UrlmonUrlRequestManager::PrivacyInfo::PrivacyRecords::iterator |
479 next_privacy_record_; | 479 next_privacy_record_; |
480 | 480 |
481 public: | 481 public: |
482 OLEINPLACEFRAMEINFO frame_info_; | 482 OLEINPLACEFRAMEINFO frame_info_; |
483 }; | 483 }; |
484 | 484 |
485 #endif // CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ | 485 #endif // CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ |
OLD | NEW |