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

Unified Diff: chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.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/omnibox/omnibox_popup_view_mac.h
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h
index 3e585adae65864b2f039059cb39f135fbc8b38b0..bdea0382b7c32c785bfac4c5a91807931753af8a 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h
@@ -44,11 +44,11 @@ class OmniboxPopupViewMac : public AutocompletePopupView,
virtual ~OmniboxPopupViewMac();
// Implement the InstantOptInControllerDelegate interface.
- virtual void UserPressedOptIn(bool opt_in);
+ virtual void UserPressedOptIn(bool opt_in) OVERRIDE;
// Implement the AutocompletePopupView interface.
- virtual bool IsOpen() const;
- virtual void InvalidateLine(size_t line) {
+ virtual bool IsOpen() const OVERRIDE;
+ virtual void InvalidateLine(size_t line) OVERRIDE {
// TODO(shess): Verify that there is no need to implement this.
// This is currently used in two places in the model:
//
@@ -68,18 +68,18 @@ class OmniboxPopupViewMac : public AutocompletePopupView,
// may need to move away from NSTableView to implement hover,
// though.
}
- virtual void UpdatePopupAppearance();
+ virtual void UpdatePopupAppearance() OVERRIDE;
- virtual gfx::Rect GetTargetBounds();
+ virtual gfx::Rect GetTargetBounds() OVERRIDE;
// Set |line| to be selected.
void SetSelectedLine(size_t line);
// This is only called by model in SetSelectedLine() after updating
// everything. Popup should already be visible.
- virtual void PaintUpdatesNow();
+ virtual void PaintUpdatesNow() OVERRIDE;
- virtual void OnDragCanceled() {}
+ virtual void OnDragCanceled() OVERRIDE {}
// Opens the URL corresponding to the given |row|. If |force_background| is
// true, forces the URL to open in a background tab. Otherwise, determines
« no previous file with comments | « chrome/browser/ui/cocoa/notifications/balloon_view_bridge.h ('k') | chrome/browser/ui/cocoa/repost_form_warning_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698