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 // Implementation of ChromeActiveDocument | 5 // Implementation of ChromeActiveDocument |
6 #include "chrome_frame/chrome_active_document.h" | 6 #include "chrome_frame/chrome_active_document.h" |
7 | 7 |
8 #include <hlink.h> | 8 #include <hlink.h> |
9 #include <htiface.h> | 9 #include <htiface.h> |
10 #include <initguid.h> | 10 #include <initguid.h> |
(...skipping 20 matching lines...) Expand all Loading... |
31 | 31 |
32 #include "grit/generated_resources.h" | 32 #include "grit/generated_resources.h" |
33 #include "chrome/app/chrome_dll_resource.h" | 33 #include "chrome/app/chrome_dll_resource.h" |
34 #include "chrome/browser/tab_contents/tab_contents.h" | 34 #include "chrome/browser/tab_contents/tab_contents.h" |
35 #include "chrome/common/chrome_constants.h" | 35 #include "chrome/common/chrome_constants.h" |
36 #include "chrome/common/navigation_types.h" | 36 #include "chrome/common/navigation_types.h" |
37 #include "chrome/test/automation/browser_proxy.h" | 37 #include "chrome/test/automation/browser_proxy.h" |
38 #include "chrome/test/automation/tab_proxy.h" | 38 #include "chrome/test/automation/tab_proxy.h" |
39 #include "chrome_frame/bho.h" | 39 #include "chrome_frame/bho.h" |
40 #include "chrome_frame/bind_context_info.h" | 40 #include "chrome_frame/bind_context_info.h" |
41 #include "chrome_frame/crash_metrics.h" | 41 #include "chrome_frame/crash_reporting/crash_metrics.h" |
42 #include "chrome_frame/utils.h" | 42 #include "chrome_frame/utils.h" |
43 | 43 |
44 const wchar_t kChromeAttachExternalTabPrefix[] = L"attach_external_tab"; | 44 const wchar_t kChromeAttachExternalTabPrefix[] = L"attach_external_tab"; |
45 | 45 |
46 static const wchar_t kUseChromeNetworking[] = L"UseChromeNetworking"; | 46 static const wchar_t kUseChromeNetworking[] = L"UseChromeNetworking"; |
47 static const wchar_t kHandleTopLevelRequests[] = L"HandleTopLevelRequests"; | 47 static const wchar_t kHandleTopLevelRequests[] = L"HandleTopLevelRequests"; |
48 | 48 |
49 DEFINE_GUID(CGID_DocHostCmdPriv, 0x000214D4L, 0, 0, 0xC0, 0, 0, 0, 0, 0, 0, | 49 DEFINE_GUID(CGID_DocHostCmdPriv, 0x000214D4L, 0, 0, 0xC0, 0, 0, 0, 0, 0, 0, |
50 0x46); | 50 0x46); |
51 | 51 |
(...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1223 shell_browser.Receive()); | 1223 shell_browser.Receive()); |
1224 DCHECK(shell_browser.get() != NULL); | 1224 DCHECK(shell_browser.get() != NULL); |
1225 ScopedComPtr<ITridentService2> trident_services; | 1225 ScopedComPtr<ITridentService2> trident_services; |
1226 trident_services.QueryFrom(shell_browser); | 1226 trident_services.QueryFrom(shell_browser); |
1227 if (trident_services) | 1227 if (trident_services) |
1228 trident_services->FirePrivacyImpactedStateChange(wparam); | 1228 trident_services->FirePrivacyImpactedStateChange(wparam); |
1229 else | 1229 else |
1230 NOTREACHED() << "Failed to retrieve IWebBrowser2 interface."; | 1230 NOTREACHED() << "Failed to retrieve IWebBrowser2 interface."; |
1231 return 0; | 1231 return 0; |
1232 } | 1232 } |
OLD | NEW |