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

Unified Diff: content/browser/tab_contents/web_drag_dest_mac.mm

Issue 8440001: Move Mac's WebDragDest to content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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
Index: content/browser/tab_contents/web_drag_dest_mac.mm
diff --git a/chrome/browser/ui/cocoa/tab_contents/web_drop_target.mm b/content/browser/tab_contents/web_drag_dest_mac.mm
similarity index 98%
rename from chrome/browser/ui/cocoa/tab_contents/web_drop_target.mm
rename to content/browser/tab_contents/web_drag_dest_mac.mm
index fa5043ef035c1b567d2064261d39925295a18ef4..1a5d14078db5dae139f3f29d8dd006ab0f3e2659 100644
--- a/chrome/browser/ui/cocoa/tab_contents/web_drop_target.mm
+++ b/content/browser/tab_contents/web_drag_dest_mac.mm
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#import "chrome/browser/ui/cocoa/tab_contents/web_drop_target.h"
+#import "content/browser/tab_contents/web_drag_dest_mac.h"
#include "base/sys_string_conversions.h"
#include "content/browser/renderer_host/render_view_host.h"
@@ -15,7 +15,7 @@
using WebKit::WebDragOperationsMask;
-@implementation WebDropTarget
+@implementation WebDragDest
// |contents| is the TabContents representing this tab, used to communicate
// drag&drop messages to WebCore and handle navigation on a successful drop
@@ -33,7 +33,7 @@ using WebKit::WebDragOperationsMask;
// Call to set whether or not we should allow the drop. Takes effect the
// next time |-draggingUpdated:| is called.
-- (void)setCurrentOperation: (NSDragOperation)operation {
+- (void)setCurrentOperation:(NSDragOperation)operation {
current_operation_ = operation;
}

Powered by Google App Engine
This is Rietveld 408576698