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> |
(...skipping 12 matching lines...) Expand all Loading... |
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/extra_system_apis.h" |
25 #include "chrome_frame/find_dialog.h" | 25 #include "chrome_frame/find_dialog.h" |
26 #include "chrome_frame/html_private_window_impl.h" | 26 #include "chrome_frame/html_private_window_impl.h" |
27 #include "chrome_frame/html_window_impl.h" | 27 #include "chrome_frame/html_window_impl.h" |
28 #include "chrome_frame/resource.h" | 28 #include "chrome_frame/resource.h" |
29 #include "chrome_frame/utils.h" | 29 #include "chrome_frame/utils.h" |
30 #include "third_party/active_doc/in_place_menu.h" | 30 #include "third_party/active_doc/in_place_menu.h" |
31 #include "third_party/active_doc/ole_document_impl.h" | 31 #include "third_party/active_doc/ole_document_impl.h" |
32 | 32 |
33 class Thread; | |
34 class TabProxy; | 33 class TabProxy; |
35 class ChromeActiveDocument; | 34 class ChromeActiveDocument; |
36 | 35 |
37 // A call to IOleCommandTarget::Exec on the webbrowser with this command id | 36 // 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 | 37 // 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 | 38 // travel log entry and move to a new location (pruning any forward entries |
40 // if needed) | 39 // if needed) |
41 #define INTERNAL_CMDID_FINALIZE_TRAVEL_LOG (38) | 40 #define INTERNAL_CMDID_FINALIZE_TRAVEL_LOG (38) |
42 | 41 |
43 // To set the lock icon status call IOleCommandTarget::Exec on site with | 42 // To set the lock icon status call IOleCommandTarget::Exec on site with |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 | 336 |
338 // ChromeFrameActivexBase overrides | 337 // ChromeFrameActivexBase overrides |
339 HRESULT IOleObject_SetClientSite(IOleClientSite* client_site); | 338 HRESULT IOleObject_SetClientSite(IOleClientSite* client_site); |
340 | 339 |
341 HRESULT ActiveXDocActivate(LONG verb); | 340 HRESULT ActiveXDocActivate(LONG verb); |
342 | 341 |
343 // Callbacks from ChromeFramePlugin<T> | 342 // Callbacks from ChromeFramePlugin<T> |
344 bool PreProcessContextMenu(HMENU menu); | 343 bool PreProcessContextMenu(HMENU menu); |
345 bool HandleContextMenuCommand(UINT cmd, const MiniContextMenuParams& params); | 344 bool HandleContextMenuCommand(UINT cmd, const MiniContextMenuParams& params); |
346 | 345 |
347 // ChromeFramePlugin overrides. | 346 // ChromeFramePlugin overrides. |
348 virtual void OnAutomationServerReady(); | 347 virtual void OnAutomationServerReady(); |
349 | 348 |
350 // IEnumPrivacyRecords | 349 // IEnumPrivacyRecords |
351 STDMETHOD(Reset)(); | 350 STDMETHOD(Reset)(); |
352 STDMETHOD(GetSize)(ULONG* size); | 351 STDMETHOD(GetSize)(ULONG* size); |
353 STDMETHOD(GetPrivacyImpacted)(BOOL* privacy_impacted); | 352 STDMETHOD(GetPrivacyImpacted)(BOOL* privacy_impacted); |
354 STDMETHOD(Next)(BSTR* url, BSTR* policy, LONG* reserved, DWORD* flags); | 353 STDMETHOD(Next)(BSTR* url, BSTR* policy, LONG* reserved, DWORD* flags); |
355 | 354 |
356 // NavigationConstraints overrides. | 355 // NavigationConstraints overrides. |
357 bool IsSchemeAllowed(const GURL& url); | 356 bool IsSchemeAllowed(const GURL& url); |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 // command. | 473 // command. |
475 UrlmonUrlRequestManager::PrivacyInfo privacy_info_; | 474 UrlmonUrlRequestManager::PrivacyInfo privacy_info_; |
476 UrlmonUrlRequestManager::PrivacyInfo::PrivacyRecords::iterator | 475 UrlmonUrlRequestManager::PrivacyInfo::PrivacyRecords::iterator |
477 next_privacy_record_; | 476 next_privacy_record_; |
478 | 477 |
479 public: | 478 public: |
480 OLEINPLACEFRAMEINFO frame_info_; | 479 OLEINPLACEFRAMEINFO frame_info_; |
481 }; | 480 }; |
482 | 481 |
483 #endif // CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ | 482 #endif // CHROME_FRAME_CHROME_ACTIVE_DOCUMENT_H_ |
OLD | NEW |