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

Side by Side Diff: ui/base/dragdrop/os_exchange_data_provider_win.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_ 5 #ifndef UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_
6 #define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_ 6 #define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_
7 7
8 #include <objidl.h> 8 #include <objidl.h>
9 #include <shlobj.h> 9 #include <shlobj.h>
10 #include <string> 10 #include <string>
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 virtual bool HasString() const; 175 virtual bool HasString() const;
176 virtual bool HasURL(OSExchangeData::FilenameToURLPolicy policy) const; 176 virtual bool HasURL(OSExchangeData::FilenameToURLPolicy policy) const;
177 virtual bool HasFile() const; 177 virtual bool HasFile() const;
178 virtual bool HasFileContents() const; 178 virtual bool HasFileContents() const;
179 virtual bool HasHtml() const; 179 virtual bool HasHtml() const;
180 virtual bool HasCustomFormat( 180 virtual bool HasCustomFormat(
181 const OSExchangeData::CustomFormat& format) const; 181 const OSExchangeData::CustomFormat& format) const;
182 virtual void SetDownloadFileInfo( 182 virtual void SetDownloadFileInfo(
183 const OSExchangeData::DownloadFileInfo& download_info); 183 const OSExchangeData::DownloadFileInfo& download_info);
184 virtual void SetDragImage(const gfx::ImageSkia& image, 184 virtual void SetDragImage(const gfx::ImageSkia& image,
185 const gfx::Vector2d& cursor_offset) OVERRIDE; 185 const gfx::Vector2d& cursor_offset) override;
186 virtual const gfx::ImageSkia& GetDragImage() const OVERRIDE; 186 virtual const gfx::ImageSkia& GetDragImage() const override;
187 virtual const gfx::Vector2d& GetDragImageOffset() const OVERRIDE; 187 virtual const gfx::Vector2d& GetDragImageOffset() const override;
188 188
189 private: 189 private:
190 scoped_refptr<DataObjectImpl> data_; 190 scoped_refptr<DataObjectImpl> data_;
191 base::win::ScopedComPtr<IDataObject> source_object_; 191 base::win::ScopedComPtr<IDataObject> source_object_;
192 192
193 // Drag image and offset data. Only used for Ash. 193 // Drag image and offset data. Only used for Ash.
194 gfx::ImageSkia drag_image_; 194 gfx::ImageSkia drag_image_;
195 gfx::Vector2d drag_image_offset_; 195 gfx::Vector2d drag_image_offset_;
196 196
197 DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderWin); 197 DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderWin);
198 }; 198 };
199 199
200 } // namespace ui 200 } // namespace ui
201 201
202 #endif // UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_ 202 #endif // UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_
OLDNEW
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_provider_mac.h ('k') | ui/base/dragdrop/os_exchange_data_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698