diff options
author | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-10 12:54:04 +0000 |
---|---|---|
committer | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-10 12:54:04 +0000 |
commit | f09c718082535c0de7f066cb63f95809070f35a6 (patch) | |
tree | 0c7bbd37cccef8748b8c6e1768d2d95f7989a1a0 /chrome/common/win_safe_util.cc | |
parent | 15567be3dd3dacb0abae800ede436eac8123482c (diff) | |
download | chromium_src-f09c718082535c0de7f066cb63f95809070f35a6.zip chromium_src-f09c718082535c0de7f066cb63f95809070f35a6.tar.gz chromium_src-f09c718082535c0de7f066cb63f95809070f35a6.tar.bz2 |
NO CODE CHANGE.
Fix files with lines > 80 cols. Part 2.
Review URL: http://codereview.chromium.org/40226
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/win_safe_util.cc')
-rw-r--r-- | chrome/common/win_safe_util.cc | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/chrome/common/win_safe_util.cc b/chrome/common/win_safe_util.cc index 70782ee..f4c45c4 100644 --- a/chrome/common/win_safe_util.cc +++ b/chrome/common/win_safe_util.cc @@ -16,73 +16,6 @@ namespace win_util { -// This is the COM IAttachmentExecute interface definition. -// In the current Chrome headers it is not present because the _WIN32_IE macro -// is not set at the XPSP2 or IE60 level. We have placed guards to avoid double -// declaration in case we change the _WIN32_IE macro. -#ifndef __IAttachmentExecute_INTERFACE_DEFINED__ -#define __IAttachmentExecute_INTERFACE_DEFINED__ - -typedef -enum tagATTACHMENT_PROMPT -{ ATTACHMENT_PROMPT_NONE = 0, -ATTACHMENT_PROMPT_SAVE = 0x1, -ATTACHMENT_PROMPT_EXEC = 0x2, -ATTACHMENT_PROMPT_EXEC_OR_SAVE = 0x3 -} ATTACHMENT_PROMPT; - -typedef -enum tagATTACHMENT_ACTION -{ ATTACHMENT_ACTION_CANCEL = 0, -ATTACHMENT_ACTION_SAVE = 0x1, -ATTACHMENT_ACTION_EXEC = 0x2 -} ATTACHMENT_ACTION; - -MIDL_INTERFACE("73db1241-1e85-4581-8e4f-a81e1d0f8c57") -IAttachmentExecute : public IUnknown -{ -public: - virtual HRESULT STDMETHODCALLTYPE SetClientTitle( - /* [string][in] */ LPCWSTR pszTitle) = 0; - - virtual HRESULT STDMETHODCALLTYPE SetClientGuid( - /* [in] */ REFGUID guid) = 0; - - virtual HRESULT STDMETHODCALLTYPE SetLocalPath( - /* [string][in] */ LPCWSTR pszLocalPath) = 0; - - virtual HRESULT STDMETHODCALLTYPE SetFileName( - /* [string][in] */ LPCWSTR pszFileName) = 0; - - virtual HRESULT STDMETHODCALLTYPE SetSource( - /* [string][in] */ LPCWSTR pszSource) = 0; - - virtual HRESULT STDMETHODCALLTYPE SetReferrer( - /* [string][in] */ LPCWSTR pszReferrer) = 0; - - virtual HRESULT STDMETHODCALLTYPE CheckPolicy( void) = 0; - - virtual HRESULT STDMETHODCALLTYPE Prompt( - /* [in] */ HWND hwnd, - /* [in] */ ATTACHMENT_PROMPT prompt, - /* [out] */ ATTACHMENT_ACTION *paction) = 0; - - virtual HRESULT STDMETHODCALLTYPE Save( void) = 0; - - virtual HRESULT STDMETHODCALLTYPE Execute( - /* [in] */ HWND hwnd, - /* [string][in] */ LPCWSTR pszVerb, - HANDLE *phProcess) = 0; - - virtual HRESULT STDMETHODCALLTYPE SaveWithUI( - HWND hwnd) = 0; - - virtual HRESULT STDMETHODCALLTYPE ClearClientState( void) = 0; - -}; - -#endif // __IAttachmentExecute_INTERFACE_DEFINED__ - // This function implementation is based on the attachment execution // services functionally deployed with IE6 or Service pack 2. This // functionality is exposed in the IAttachmentExecute COM interface. |