| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // This file will be processed by the MIDL tool to | 5 // This file will be processed by the MIDL tool to |
| 6 // produce the type library (chrome_tab.tlb) and marshalling code. | 6 // produce the type library (chrome_tab.tlb) and marshalling code. |
| 7 | 7 |
| 8 #include "olectl.h" | 8 #include "olectl.h" |
| 9 import "oaidl.idl"; | 9 import "oaidl.idl"; |
| 10 import "ocidl.idl"; | 10 import "ocidl.idl"; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 interface IChromeFramePrivileged : IUnknown { | 95 interface IChromeFramePrivileged : IUnknown { |
| 96 // If the host returns false for wants_privileged, the control | 96 // If the host returns false for wants_privileged, the control |
| 97 // won't enable privileged mode. | 97 // won't enable privileged mode. |
| 98 HRESULT GetWantsPrivileged([out] boolean *wants_privileged); | 98 HRESULT GetWantsPrivileged([out] boolean *wants_privileged); |
| 99 // The profile name we want to use. | 99 // The profile name we want to use. |
| 100 HRESULT GetChromeProfileName([out] BSTR *profile_name); | 100 HRESULT GetChromeProfileName([out] BSTR *profile_name); |
| 101 // Called when an automation version mismatch occurs. Returns S_OK if | 101 // Called when an automation version mismatch occurs. Returns S_OK if |
| 102 // a dialog should be showed to the user by this CF instance, S_FALSE if | 102 // a dialog should be showed to the user by this CF instance, S_FALSE if |
| 103 // not. | 103 // not. |
| 104 HRESULT ShouldShowVersionMismatchDialog(); | 104 HRESULT ShouldShowVersionMismatchDialog(); |
| 105 // Allows the host to return the navigation url during the creation of the |
| 106 // ChromeFrameActiveX instance. |
| 107 HRESULT GetNavigationUrl([out] BSTR* url); |
| 105 }; | 108 }; |
| 106 | 109 |
| 107 // Expose this service to the ChromeFrame control to trigger privileged | 110 // Expose this service to the ChromeFrame control to trigger privileged |
| 108 // mode. If the control is in privileged mode, it will forward messages | 111 // mode. If the control is in privileged mode, it will forward messages |
| 109 // to the onmessage handler irrespective of origin. | 112 // to the onmessage handler irrespective of origin. |
| 110 cpp_quote("#define SID_ChromeFramePrivileged __uuidof(IChromeFramePrivileged)") | 113 cpp_quote("#define SID_ChromeFramePrivileged __uuidof(IChromeFramePrivileged)") |
| 111 | 114 |
| 112 typedef enum { | 115 typedef enum { |
| 113 CF_EVENT_DISPID_ONLOAD = 1, | 116 CF_EVENT_DISPID_ONLOAD = 1, |
| 114 CF_EVENT_DISPID_ONLOADERROR, | 117 CF_EVENT_DISPID_ONLOADERROR, |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 coclass ChromeFrame { | 183 coclass ChromeFrame { |
| 181 [default] interface IChromeFrame; | 184 [default] interface IChromeFrame; |
| 182 [default, source] dispinterface DIChromeFrameEvents; | 185 [default, source] dispinterface DIChromeFrameEvents; |
| 183 }; | 186 }; |
| 184 | 187 |
| 185 [uuid(ECB3C477-1A0A-44bd-BB57-78F9EFE34FA7)] | 188 [uuid(ECB3C477-1A0A-44bd-BB57-78F9EFE34FA7)] |
| 186 coclass ChromeFrameBHO { | 189 coclass ChromeFrameBHO { |
| 187 [default] interface IUnknown; | 190 [default] interface IUnknown; |
| 188 }; | 191 }; |
| 189 }; | 192 }; |
| OLD | NEW |