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

Unified Diff: content/browser/host_zoom_map_impl.h

Issue 637183002: Replace FINAL and OVERRIDE with their C++11 counterparts in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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 | « content/browser/histogram_synchronizer.h ('k') | content/browser/mach_broker_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/host_zoom_map_impl.h
diff --git a/content/browser/host_zoom_map_impl.h b/content/browser/host_zoom_map_impl.h
index 821fa0e4923e7bc9caaa5548a7592cb2cc0994a5..464d424ff4382fa7999779ab53a6e183a8dc5f8a 100644
--- a/content/browser/host_zoom_map_impl.h
+++ b/content/browser/host_zoom_map_impl.h
@@ -31,33 +31,33 @@ class CONTENT_EXPORT HostZoomMapImpl : public NON_EXPORTED_BASE(HostZoomMap),
virtual ~HostZoomMapImpl();
// HostZoomMap implementation:
- virtual void CopyFrom(HostZoomMap* copy) OVERRIDE;
+ virtual void CopyFrom(HostZoomMap* copy) override;
virtual double GetZoomLevelForHostAndScheme(
const std::string& scheme,
- const std::string& host) const OVERRIDE;
+ const std::string& host) const override;
// TODO(wjmaclean) Should we use a GURL here? crbug.com/384486
virtual bool HasZoomLevel(const std::string& scheme,
- const std::string& host) const OVERRIDE;
- virtual ZoomLevelVector GetAllZoomLevels() const OVERRIDE;
+ const std::string& host) const override;
+ virtual ZoomLevelVector GetAllZoomLevels() const override;
virtual void SetZoomLevelForHost(
const std::string& host,
- double level) OVERRIDE;
+ double level) override;
virtual void SetZoomLevelForHostAndScheme(
const std::string& scheme,
const std::string& host,
- double level) OVERRIDE;
+ double level) override;
virtual bool UsesTemporaryZoomLevel(int render_process_id,
- int render_view_id) const OVERRIDE;
+ int render_view_id) const override;
virtual void SetTemporaryZoomLevel(int render_process_id,
int render_view_id,
- double level) OVERRIDE;
+ double level) override;
virtual void ClearTemporaryZoomLevel(int render_process_id,
- int render_view_id) OVERRIDE;
- virtual double GetDefaultZoomLevel() const OVERRIDE;
- virtual void SetDefaultZoomLevel(double level) OVERRIDE;
+ int render_view_id) override;
+ virtual double GetDefaultZoomLevel() const override;
+ virtual void SetDefaultZoomLevel(double level) override;
virtual scoped_ptr<Subscription> AddZoomLevelChangedCallback(
- const ZoomLevelChangedCallback& callback) OVERRIDE;
+ const ZoomLevelChangedCallback& callback) override;
// Returns the current zoom level for the specified WebContents. This may
// be a temporary zoom level, depending on UsesTemporaryZoomLevel().
@@ -88,7 +88,7 @@ class CONTENT_EXPORT HostZoomMapImpl : public NON_EXPORTED_BASE(HostZoomMap),
// NotificationObserver implementation.
virtual void Observe(int type,
const NotificationSource& source,
- const NotificationDetails& details) OVERRIDE;
+ const NotificationDetails& details) override;
private:
typedef std::map<std::string, double> HostZoomLevels;
« no previous file with comments | « content/browser/histogram_synchronizer.h ('k') | content/browser/mach_broker_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698