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

Unified Diff: chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h

Issue 648653003: Standardize usage of virtual/override/final in chrome/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h
diff --git a/chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h b/chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h
index 2062642cb6812c4eff2f37560661bea5186f5a9b..517a6c4ec3c1f160dfde3bf1fd240b4db641e166 100644
--- a/chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h
+++ b/chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h
@@ -17,14 +17,14 @@ class ContentBasedThumbnailingAlgorithm : public ThumbnailingAlgorithm {
public:
explicit ContentBasedThumbnailingAlgorithm(const gfx::Size& target_size);
- virtual ClipResult GetCanvasCopyInfo(const gfx::Size& source_size,
- ui::ScaleFactor scale_factor,
- gfx::Rect* clipping_rect,
- gfx::Size* target_size) const override;
+ ClipResult GetCanvasCopyInfo(const gfx::Size& source_size,
+ ui::ScaleFactor scale_factor,
+ gfx::Rect* clipping_rect,
+ gfx::Size* target_size) const override;
- virtual void ProcessBitmap(scoped_refptr<ThumbnailingContext> context,
- const ConsumerCallback& callback,
- const SkBitmap& bitmap) override;
+ void ProcessBitmap(scoped_refptr<ThumbnailingContext> context,
+ const ConsumerCallback& callback,
+ const SkBitmap& bitmap) override;
// Prepares (clips to size, copies etc.) the bitmap passed to ProcessBitmap.
// Always returns a bitmap that can be properly refcounted.
@@ -43,7 +43,7 @@ class ContentBasedThumbnailingAlgorithm : public ThumbnailingAlgorithm {
const ConsumerCallback& callback);
protected:
- virtual ~ContentBasedThumbnailingAlgorithm();
+ ~ContentBasedThumbnailingAlgorithm() override;
private:
static gfx::Rect GetClippingRect(const gfx::Size& source_size,
« no previous file with comments | « chrome/browser/themes/theme_syncable_service_unittest.cc ('k') | chrome/browser/thumbnails/simple_thumbnail_crop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698