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

Unified Diff: chrome/browser/ui/views/tab_contents/web_drag_bookmark_handler_win.cc

Issue 23283007: Move kJavaScriptScheme into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: content:: is necessary in web_drag_source_mac.mm Created 7 years, 4 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/browser/ui/omnibox/omnibox_view.cc ('k') | content/browser/child_process_security_policy_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tab_contents/web_drag_bookmark_handler_win.cc
diff --git a/chrome/browser/ui/views/tab_contents/web_drag_bookmark_handler_win.cc b/chrome/browser/ui/views/tab_contents/web_drag_bookmark_handler_win.cc
index 474235bd9298f4378b4f5a66c245039d6ff071ab..ab6905238b2e753501267f52ddef6ee048863057 100644
--- a/chrome/browser/ui/views/tab_contents/web_drag_bookmark_handler_win.cc
+++ b/chrome/browser/ui/views/tab_contents/web_drag_bookmark_handler_win.cc
@@ -10,9 +10,9 @@
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h"
#include "chrome/browser/profiles/profile.h"
-#include "chrome/common/url_constants.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/drop_data.h"
+#include "content/public/common/url_constants.h"
#include "ui/base/dragdrop/os_exchange_data.h"
#include "ui/base/dragdrop/os_exchange_data_provider_win.h"
@@ -94,7 +94,7 @@ void WebDragBookmarkHandlerWin::OnDragLeave(IDataObject* data_object) {
bool WebDragBookmarkHandlerWin::AddDragData(const content::DropData& drop_data,
ui::OSExchangeData* data) {
- if (!drop_data.url.SchemeIs(chrome::kJavaScriptScheme))
+ if (!drop_data.url.SchemeIs(content::kJavaScriptScheme))
return false;
// We don't want to allow javascript URLs to be dragged to the desktop,
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_view.cc ('k') | content/browser/child_process_security_policy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698