diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-31 09:09:08 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-31 09:09:08 +0000 |
commit | befff0575c078d9353e48a125575b429e4b8b5f1 (patch) | |
tree | 3bd2d61f2aeedd52df07515d5d836ee5433a8099 /content/common/drag_messages.h | |
parent | 69abdf0ed493f2a5f76de6dfe000a6ea0eedccf9 (diff) | |
download | chromium_src-befff0575c078d9353e48a125575b429e4b8b5f1.zip chromium_src-befff0575c078d9353e48a125575b429e4b8b5f1.tar.gz chromium_src-befff0575c078d9353e48a125575b429e4b8b5f1.tar.bz2 |
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
Diffstat (limited to 'content/common/drag_messages.h')
-rw-r--r-- | content/common/drag_messages.h | 3 |
1 files changed, 1 insertions, 2 deletions
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) |