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

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

Issue 7189019: Fix even more crashes. To help identify remaining crashes now and in the future, I have made the ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/default_search_view.h
===================================================================
--- chrome/browser/ui/views/default_search_view.h (revision 89357)
+++ chrome/browser/ui/views/default_search_view.h (working copy)
@@ -49,17 +49,20 @@
protected:
// Overridden from views::View:
// Draws the gray background at the top of the dialog.
- virtual void OnPaint(gfx::Canvas* canvas);
+ virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
// Overridden from views::ButtonListener:
- virtual void ButtonPressed(views::Button* sender, const views::Event& event);
+ virtual void ButtonPressed(views::Button* sender,
+ const views::Event& event) OVERRIDE;
// ConstrainedDialogDelegate:
- virtual std::wstring GetWindowTitle() const;
- virtual views::View* GetInitiallyFocusedView();
- virtual views::View* GetContentsView();
- virtual int GetDialogButtons() const;
- virtual bool Accept();
+ virtual std::wstring GetWindowTitle() const OVERRIDE;
+ virtual views::View* GetInitiallyFocusedView() OVERRIDE;
+ virtual views::View* GetContentsView() OVERRIDE;
+ virtual int GetDialogButtons() const OVERRIDE;
+ virtual bool Accept() OVERRIDE;
+ virtual views::Widget* GetWidget() OVERRIDE;
+ virtual const views::Widget* GetWidget() const OVERRIDE;
Nico 2011/06/17 03:48:15 Hi Ben, you added a "TODO: Find out why clang doe
private:
// Takes ownership of |proposed_default_turl|.
« no previous file with comments | « chrome/browser/ui/views/constrained_html_delegate_win.cc ('k') | chrome/browser/ui/views/default_search_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698