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

Side by Side Diff: Source/core/clipboard/Clipboard.cpp

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/clipboard/Clipboard.h ('k') | Source/core/clipboard/DataObject.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 26 matching lines...) Expand all
37 #include "core/html/HTMLImageElement.h" 37 #include "core/html/HTMLImageElement.h"
38 #include "core/rendering/RenderImage.h" 38 #include "core/rendering/RenderImage.h"
39 #include "core/rendering/RenderObject.h" 39 #include "core/rendering/RenderObject.h"
40 #include "platform/DragImage.h" 40 #include "platform/DragImage.h"
41 #include "platform/MIMETypeRegistry.h" 41 #include "platform/MIMETypeRegistry.h"
42 #include "platform/clipboard/ClipboardMimeTypes.h" 42 #include "platform/clipboard/ClipboardMimeTypes.h"
43 #include "platform/clipboard/ClipboardUtilities.h" 43 #include "platform/clipboard/ClipboardUtilities.h"
44 44
45 namespace WebCore { 45 namespace WebCore {
46 46
47 DEFINE_GC_INFO(Clipboard);
48
49 // These "conversion" methods are called by both WebCore and WebKit, and never m ake sense to JS, so we don't 47 // These "conversion" methods are called by both WebCore and WebKit, and never m ake sense to JS, so we don't
50 // worry about security for these. They don't allow access to the pasteboard any way. 48 // worry about security for these. They don't allow access to the pasteboard any way.
51 static DragOperation dragOpFromIEOp(const String& op) 49 static DragOperation dragOpFromIEOp(const String& op)
52 { 50 {
53 // yep, it's really just this fixed set 51 // yep, it's really just this fixed set
54 if (op == "uninitialized") 52 if (op == "uninitialized")
55 return DragOperationEvery; 53 return DragOperationEvery;
56 if (op == "none") 54 if (op == "none")
57 return DragOperationNone; 55 return DragOperationNone;
58 if (op == "copy") 56 if (op == "copy")
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 return String("copy"); 521 return String("copy");
524 } 522 }
525 } 523 }
526 524
527 void Clipboard::trace(Visitor* visitor) 525 void Clipboard::trace(Visitor* visitor)
528 { 526 {
529 visitor->trace(m_dataObject); 527 visitor->trace(m_dataObject);
530 } 528 }
531 529
532 } // namespace WebCore 530 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/clipboard/Clipboard.h ('k') | Source/core/clipboard/DataObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698