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

Unified Diff: ui/base/dragdrop/os_exchange_data_provider_win.h

Issue 692713002: Add a few missing overrides found by a new clang warning. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: novirt 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/base/ime/remote_input_method_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dragdrop/os_exchange_data_provider_win.h
diff --git a/ui/base/dragdrop/os_exchange_data_provider_win.h b/ui/base/dragdrop/os_exchange_data_provider_win.h
index 8587bd1bbacc9b46b3f4a7213080614345851a21..4e8683bd815da5774cb1c96ea3948d00e071dcce 100644
--- a/ui/base/dragdrop/os_exchange_data_provider_win.h
+++ b/ui/base/dragdrop/os_exchange_data_provider_win.h
@@ -148,43 +148,43 @@ class UI_BASE_EXPORT OSExchangeDataProviderWin
IDataObjectAsyncCapability* async_operation() const { return data_.get(); }
// OSExchangeData::Provider methods.
- virtual Provider* Clone() const;
- virtual void MarkOriginatedFromRenderer();
- virtual bool DidOriginateFromRenderer() const;
- virtual void SetString(const base::string16& data);
- virtual void SetURL(const GURL& url, const base::string16& title);
- virtual void SetFilename(const base::FilePath& path);
- virtual void SetFilenames(const std::vector<FileInfo>& filenames);
- virtual void SetPickledData(const OSExchangeData::CustomFormat& format,
- const Pickle& data);
- virtual void SetFileContents(const base::FilePath& filename,
- const std::string& file_contents);
- virtual void SetHtml(const base::string16& html, const GURL& base_url);
-
- virtual bool GetString(base::string16* data) const;
- virtual bool GetURLAndTitle(OSExchangeData::FilenameToURLPolicy policy,
- GURL* url,
- base::string16* title) const;
- virtual bool GetFilename(base::FilePath* path) const;
- virtual bool GetFilenames(std::vector<FileInfo>* filenames) const;
- virtual bool GetPickledData(const OSExchangeData::CustomFormat& format,
- Pickle* data) const;
- virtual bool GetFileContents(base::FilePath* filename,
- std::string* file_contents) const;
- virtual bool GetHtml(base::string16* html, GURL* base_url) const;
- virtual bool HasString() const;
- virtual bool HasURL(OSExchangeData::FilenameToURLPolicy policy) const;
- virtual bool HasFile() const;
- virtual bool HasFileContents() const;
- virtual bool HasHtml() const;
- virtual bool HasCustomFormat(
- const OSExchangeData::CustomFormat& format) const;
- virtual void SetDownloadFileInfo(
- const OSExchangeData::DownloadFileInfo& download_info);
- virtual void SetDragImage(const gfx::ImageSkia& image,
- const gfx::Vector2d& cursor_offset) override;
- virtual const gfx::ImageSkia& GetDragImage() const override;
- virtual const gfx::Vector2d& GetDragImageOffset() const override;
+ Provider* Clone() const override;
+ void MarkOriginatedFromRenderer() override;
+ bool DidOriginateFromRenderer() const override;
+ void SetString(const base::string16& data) override;
+ void SetURL(const GURL& url, const base::string16& title) override;
+ void SetFilename(const base::FilePath& path) override;
+ void SetFilenames(const std::vector<FileInfo>& filenames) override;
+ void SetPickledData(const OSExchangeData::CustomFormat& format,
+ const Pickle& data) override;
+ void SetFileContents(const base::FilePath& filename,
+ const std::string& file_contents) override;
+ void SetHtml(const base::string16& html, const GURL& base_url) override;
+
+ bool GetString(base::string16* data) const override;
+ bool GetURLAndTitle(OSExchangeData::FilenameToURLPolicy policy,
+ GURL* url,
+ base::string16* title) const override;
+ bool GetFilename(base::FilePath* path) const override;
+ bool GetFilenames(std::vector<FileInfo>* filenames) const override;
+ bool GetPickledData(const OSExchangeData::CustomFormat& format,
+ Pickle* data) const override;
+ bool GetFileContents(base::FilePath* filename,
+ std::string* file_contents) const override;
+ bool GetHtml(base::string16* html, GURL* base_url) const override;
+ bool HasString() const override;
+ bool HasURL(OSExchangeData::FilenameToURLPolicy policy) const override;
+ bool HasFile() const override;
+ bool HasFileContents() const override;
+ bool HasHtml() const override;
+ bool HasCustomFormat(
+ const OSExchangeData::CustomFormat& format) const override;
+ void SetDownloadFileInfo(
+ const OSExchangeData::DownloadFileInfo& download_info) override;
+ void SetDragImage(const gfx::ImageSkia& image,
+ const gfx::Vector2d& cursor_offset) override;
+ const gfx::ImageSkia& GetDragImage() const override;
+ const gfx::Vector2d& GetDragImageOffset() const override;
private:
scoped_refptr<DataObjectImpl> data_;
« no previous file with comments | « no previous file | ui/base/ime/remote_input_method_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698