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 header file contains declarations for system APIs and interfaces | 5 // This header file contains declarations for system APIs and interfaces |
6 // that are either undocumented or are documented but not included in any | 6 // that are either undocumented or are documented but not included in any |
7 // Platform SDK header files. | 7 // Platform SDK header files. |
8 #ifndef CHROME_FRAME_EXTRA_SYSTEM_APIS_H_ | 8 #ifndef CHROME_FRAME_EXTRA_SYSTEM_APIS_H_ |
9 #define CHROME_FRAME_EXTRA_SYSTEM_APIS_H_ | 9 #define CHROME_FRAME_EXTRA_SYSTEM_APIS_H_ |
10 | 10 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // here since all apply. We use this interface for simplicities sake as all we | 53 // here since all apply. We use this interface for simplicities sake as all we |
54 // want to do is invoke the NavigateWithBindCtx2 method. | 54 // want to do is invoke the NavigateWithBindCtx2 method. |
55 class IWebBrowserPriv2Common : public IUnknown { | 55 class IWebBrowserPriv2Common : public IUnknown { |
56 public: | 56 public: |
57 STDMETHOD(NavigateWithBindCtx2)(IUri* uri, VARIANT* flags, | 57 STDMETHOD(NavigateWithBindCtx2)(IUri* uri, VARIANT* flags, |
58 VARIANT* target_frame, VARIANT* post_data, | 58 VARIANT* target_frame, VARIANT* post_data, |
59 VARIANT* headers, IBindCtx* bind_ctx, | 59 VARIANT* headers, IBindCtx* bind_ctx, |
60 LPOLESTR url_fragment); | 60 LPOLESTR url_fragment); |
61 }; | 61 }; |
62 | 62 |
| 63 // The IWebBrowserPriv2Common interface flavor for IE9 preview 2 |
| 64 // (9.0.8073.6003) |
| 65 class IWebBrowserPriv2CommonIE9 : public IUnknown { |
| 66 public: |
| 67 STDMETHOD(NavigateWithBindCtx2)(IUri* uri, VARIANT* flags, |
| 68 VARIANT* target_frame, VARIANT* post_data, |
| 69 VARIANT* headers, IBindCtx* bind_ctx, |
| 70 LPOLESTR url_fragment, DWORD unused1); |
| 71 }; |
| 72 |
63 // This interface is used to call FireBeforeNavigate with additional | 73 // This interface is used to call FireBeforeNavigate with additional |
64 // information like url. Available on IE7 onwards. | 74 // information like url. Available on IE7 onwards. |
65 // | 75 // |
66 // MSDN documents this interface see: | 76 // MSDN documents this interface see: |
67 // http://msdn.microsoft.com/en-us/library/aa770053(VS.85).aspx) | 77 // http://msdn.microsoft.com/en-us/library/aa770053(VS.85).aspx) |
68 // but this is not included in any Platform SDK header file. | 78 // but this is not included in any Platform SDK header file. |
69 interface __declspec(uuid("3050f801-98b5-11cf-bb82-00aa00bdce0b")) | 79 interface __declspec(uuid("3050f801-98b5-11cf-bb82-00aa00bdce0b")) |
70 IDocObjectService : public IUnknown { | 80 IDocObjectService : public IUnknown { |
71 STDMETHOD(FireBeforeNavigate2)(IDispatch* dispatch, | 81 STDMETHOD(FireBeforeNavigate2)(IDispatch* dispatch, |
72 LPCTSTR url, DWORD flags, LPCTSTR frame_name, BYTE* post_data, | 82 LPCTSTR url, DWORD flags, LPCTSTR frame_name, BYTE* post_data, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 STDMETHOD(InitAutoImageResize)(VOID); | 124 STDMETHOD(InitAutoImageResize)(VOID); |
115 STDMETHOD(UnInitAutoImageResize)(VOID); | 125 STDMETHOD(UnInitAutoImageResize)(VOID); |
116 }; | 126 }; |
117 | 127 |
118 // Flags for ITravelLogEx::CountEntryNodes, CreateEnumEntry. | 128 // Flags for ITravelLogEx::CountEntryNodes, CreateEnumEntry. |
119 #define TLEF_RELATIVE_INCLUDE_CURRENT (0x01) // count the current entry | 129 #define TLEF_RELATIVE_INCLUDE_CURRENT (0x01) // count the current entry |
120 #define TLEF_RELATIVE_BACK (0x10) // count backward entries | 130 #define TLEF_RELATIVE_BACK (0x10) // count backward entries |
121 #define TLEF_RELATIVE_FORE (0x20) // count forward entries | 131 #define TLEF_RELATIVE_FORE (0x20) // count forward entries |
122 | 132 |
123 #endif // CHROME_FRAME_EXTRA_SYSTEM_APIS_H_ | 133 #endif // CHROME_FRAME_EXTRA_SYSTEM_APIS_H_ |
OLD | NEW |