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

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

Issue 8558010: clang fails compile on aura drag and drop code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « ui/base/dragdrop/os_exchange_data_provider_aura.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/base/dragdrop/os_exchange_data_provider_aura.h" 5 #include "ui/base/dragdrop/os_exchange_data_provider_aura.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "net/base/net_util.h" 9 #include "net/base/net_util.h"
10 10
11 namespace ui { 11 namespace ui {
12 12
13 OSExchangeDataProviderAura::OSExchangeDataProviderAura() : formats_(0) {} 13 OSExchangeDataProviderAura::OSExchangeDataProviderAura() : formats_(0) {}
14 14
15 OSExchangeDataProviderAura::~OSExchangeDataProviderAura() {}
16
15 void OSExchangeDataProviderAura::SetString(const string16& data) { 17 void OSExchangeDataProviderAura::SetString(const string16& data) {
16 string_ = data; 18 string_ = data;
17 formats_ |= OSExchangeData::STRING; 19 formats_ |= OSExchangeData::STRING;
18 } 20 }
19 21
20 void OSExchangeDataProviderAura::SetURL(const GURL& url, 22 void OSExchangeDataProviderAura::SetURL(const GURL& url,
21 const string16& title) { 23 const string16& title) {
22 url_ = url; 24 url_ = url;
23 title_ = title; 25 title_ = title;
24 formats_ |= OSExchangeData::URL; 26 formats_ |= OSExchangeData::URL;
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 } 162 }
161 163
162 // static 164 // static
163 OSExchangeData::CustomFormat 165 OSExchangeData::CustomFormat
164 OSExchangeData::RegisterCustomFormat(const std::string& type) { 166 OSExchangeData::RegisterCustomFormat(const std::string& type) {
165 // TODO(davemoore) Implement this for aura. 167 // TODO(davemoore) Implement this for aura.
166 return NULL; 168 return NULL;
167 } 169 }
168 170
169 } // namespace ui 171 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_provider_aura.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698