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

Unified Diff: chrome/browser/ui/views/download_shelf_view.h

Issue 6622002: Do all OOLing in the views code. linux_views now builds clean with the clang plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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/ui/views/download_shelf_view.h
diff --git a/chrome/browser/ui/views/download_shelf_view.h b/chrome/browser/ui/views/download_shelf_view.h
index 10f65fafbd157cd6703c9fe94384e06cbd9c5ae8..25d160144895abd0d8de9f079d5f008b2de0235d 100644
--- a/chrome/browser/ui/views/download_shelf_view.h
+++ b/chrome/browser/ui/views/download_shelf_view.h
@@ -70,7 +70,7 @@ class DownloadShelfView : public AccessiblePaneView,
virtual bool IsClosing() const;
virtual void Show();
virtual void Close();
- virtual Browser* browser() const { return browser_; }
+ virtual Browser* browser() const;
// Implementation of MouseWatcherDelegate.
virtual void MouseMovedOutOfView();
@@ -96,7 +96,7 @@ class DownloadShelfView : public AccessiblePaneView,
void AddDownloadView(DownloadItemView* view);
// Paints the border.
- void OnPaintBorder(gfx::Canvas* canvas);
+ virtual void OnPaintBorder(gfx::Canvas* canvas);
// Returns true if the shelf is wide enough to show the first download item.
bool CanFitFirstDownloadItem();

Powered by Google App Engine
This is Rietveld 408576698