From befff0575c078d9353e48a125575b429e4b8b5f1 Mon Sep 17 00:00:00 2001 From: "dcheng@chromium.org" Date: Tue, 31 Jan 2012 09:09:08 +0000 Subject: Remove file_extension from WebDropData since it's not needed. On Win and Mac, refactor the code to derive file extension from the file name. Also fixes two minor bugs: - We added NSTIFFPboardType even when we couldn't supply it. - We registered a type using NSCreateFileContentsPboardType(extension-with-no-dot) and then try to match against it with NSCreateFileContentsPboardType(extension-with-dot) BUG=none TEST=compiles+manual testing on Windows and Mac TBR=brettw Review URL: http://codereview.chromium.org/9297040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119872 0039d316-1c4b-4281-b951-d872f2087c98 --- content/common/drag_messages.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'content/common/drag_messages.h') diff --git a/content/common/drag_messages.h b/content/common/drag_messages.h index 2d70708..1b48e94 100644 --- a/content/common/drag_messages.h +++ b/content/common/drag_messages.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -20,7 +20,6 @@ IPC_STRUCT_TRAITS_BEGIN(WebDropData) IPC_STRUCT_TRAITS_MEMBER(url) IPC_STRUCT_TRAITS_MEMBER(url_title) IPC_STRUCT_TRAITS_MEMBER(download_metadata) - IPC_STRUCT_TRAITS_MEMBER(file_extension) IPC_STRUCT_TRAITS_MEMBER(filenames) IPC_STRUCT_TRAITS_MEMBER(plain_text) IPC_STRUCT_TRAITS_MEMBER(text_html) -- cgit v1.1