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

Side by Side Diff: chrome/browser/ui/views/status_bubble_views.h

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_STATUS_BUBBLE_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_STATUS_BUBBLE_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_STATUS_BUBBLE_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_STATUS_BUBBLE_VIEWS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // the font and kTotalVerticalPadding. 47 // the font and kTotalVerticalPadding.
48 gfx::Size GetPreferredSize(); 48 gfx::Size GetPreferredSize();
49 49
50 // Calculate and set new position for status bubble. 50 // Calculate and set new position for status bubble.
51 void Reposition(); 51 void Reposition();
52 52
53 // Set bubble to new width. 53 // Set bubble to new width.
54 void SetBubbleWidth(int width); 54 void SetBubbleWidth(int width);
55 55
56 // Overridden from StatusBubble: 56 // Overridden from StatusBubble:
57 virtual void SetStatus(const base::string16& status) OVERRIDE; 57 virtual void SetStatus(const base::string16& status) override;
58 virtual void SetURL(const GURL& url, const std::string& languages) OVERRIDE; 58 virtual void SetURL(const GURL& url, const std::string& languages) override;
59 virtual void Hide() OVERRIDE; 59 virtual void Hide() override;
60 virtual void MouseMoved(const gfx::Point& location, 60 virtual void MouseMoved(const gfx::Point& location,
61 bool left_content) OVERRIDE; 61 bool left_content) override;
62 virtual void UpdateDownloadShelfVisibility(bool visible) OVERRIDE; 62 virtual void UpdateDownloadShelfVisibility(bool visible) override;
63 63
64 views::Widget* GetPopupForTest() { return popup(); } 64 views::Widget* GetPopupForTest() { return popup(); }
65 65
66 protected: 66 protected:
67 views::Widget* popup() { return popup_.get(); } 67 views::Widget* popup() { return popup_.get(); }
68 68
69 private: 69 private:
70 class StatusView; 70 class StatusView;
71 class StatusViewAnimation; 71 class StatusViewAnimation;
72 class StatusViewExpander; 72 class StatusViewExpander;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // change size immediately, with no hover. 144 // change size immediately, with no hover.
145 bool is_expanded_; 145 bool is_expanded_;
146 146
147 // Times expansion of status bubble when URL is too long for standard width. 147 // Times expansion of status bubble when URL is too long for standard width.
148 base::WeakPtrFactory<StatusBubbleViews> expand_timer_factory_; 148 base::WeakPtrFactory<StatusBubbleViews> expand_timer_factory_;
149 149
150 DISALLOW_COPY_AND_ASSIGN(StatusBubbleViews); 150 DISALLOW_COPY_AND_ASSIGN(StatusBubbleViews);
151 }; 151 };
152 152
153 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_BUBBLE_VIEWS_H_ 153 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_BUBBLE_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc ('k') | chrome/browser/ui/views/status_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698