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

Unified Diff: chrome/browser/ui/cocoa/location_bar/page_action_decoration.h

Issue 8603006: Add OVERRIDE to chrome/browser/ui/cocoa/. (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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/location_bar/page_action_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/page_action_decoration.h b/chrome/browser/ui/cocoa/location_bar/page_action_decoration.h
index 8325a608ccb0666a43a9789190fb2421eba9cb7f..227bde48522145020f675e5bce69b1398ae05eb4 100644
--- a/chrome/browser/ui/cocoa/location_bar/page_action_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/page_action_decoration.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -35,7 +35,7 @@ class PageActionDecoration : public ImageDecoration,
// Overridden from |ImageLoadingTracker::Observer|.
virtual void OnImageLoaded(
- SkBitmap* image, const ExtensionResource& resource, int index);
+ SkBitmap* image, const ExtensionResource& resource, int index) OVERRIDE;
// Called to notify the Page Action that it should determine whether
// to be visible or hidden. |contents| is the TabContents that is
@@ -51,17 +51,17 @@ class PageActionDecoration : public ImageDecoration,
NSPoint GetBubblePointInFrame(NSRect frame);
// Overridden from |LocationBarDecoration|
- virtual CGFloat GetWidthForSpace(CGFloat width);
- virtual bool AcceptsMousePress();
- virtual bool OnMousePressed(NSRect frame);
- virtual NSString* GetToolTip();
- virtual NSMenu* GetMenu();
+ virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE;
+ virtual bool AcceptsMousePress() OVERRIDE;
+ virtual bool OnMousePressed(NSRect frame) OVERRIDE;
+ virtual NSString* GetToolTip() OVERRIDE;
+ virtual NSMenu* GetMenu() OVERRIDE;
private:
// Overridden from NotificationObserver:
virtual void Observe(int type,
const content::NotificationSource& source,
- const content::NotificationDetails& details);
+ const content::NotificationDetails& details) OVERRIDE;
// The location bar view that owns us.
LocationBarViewMac* owner_;

Powered by Google App Engine
This is Rietveld 408576698