Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: chrome/common/win_safe_util.cc

Issue 40226: Fix files with lines > 80 cols. Part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/visitedlink_common.cc ('k') | chrome/common/win_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/win_safe_util.cc
===================================================================
--- chrome/common/win_safe_util.cc (revision 11111)
+++ chrome/common/win_safe_util.cc (working copy)
@@ -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.
« no previous file with comments | « chrome/common/visitedlink_common.cc ('k') | chrome/common/win_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698