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

Side by Side Diff: ui/base/dragdrop/bookmark_format.cc

Issue 8196001: content: Split web_drag_dest_gtk.cc into chrome/ and content/ parts. (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/base/dragdrop/bookmark_format.h"
6
7 namespace ui {
8
9 const char kClipboardFormatString[] = "chromium/x-bookmark-entries";
10
11 #if defined(TOOLKIT_VIEWS)
12 ui::OSExchangeData::CustomFormat GetBookmarkCustomFormat() {
13 static ui::OSExchangeData::CustomFormat format;
14 static bool format_valid = false;
15
16 if (!format_valid) {
17 format_valid = true;
18 format = ui::OSExchangeData::RegisterCustomFormat(kClipboardFormatString);
19 }
20 return format;
21 }
22 #endif
23
24 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698