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

Side by Side Diff: chrome/browser/ui/views/fullscreen_exit_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_FULLSCREEN_EXIT_BUBBLE_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FULLSCREEN_EXIT_BUBBLE_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_FULLSCREEN_EXIT_BUBBLE_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FULLSCREEN_EXIT_BUBBLE_VIEWS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h" 10 #include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // fullscreen. 56 // fullscreen.
57 void UpdateForImmersiveState(); 57 void UpdateForImmersiveState();
58 58
59 // Updates |popup|'s bounds given |animation_| and |animated_attribute_|. 59 // Updates |popup|'s bounds given |animation_| and |animated_attribute_|.
60 void UpdateBounds(); 60 void UpdateBounds();
61 61
62 // Returns the root view containing |browser_view_|. 62 // Returns the root view containing |browser_view_|.
63 views::View* GetBrowserRootView() const; 63 views::View* GetBrowserRootView() const;
64 64
65 // FullScreenExitBubble overrides: 65 // FullScreenExitBubble overrides:
66 virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; 66 virtual void AnimationProgressed(const gfx::Animation* animation) override;
67 virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; 67 virtual void AnimationEnded(const gfx::Animation* animation) override;
68 virtual gfx::Rect GetPopupRect(bool ignore_animation_state) const OVERRIDE; 68 virtual gfx::Rect GetPopupRect(bool ignore_animation_state) const override;
69 virtual gfx::Point GetCursorScreenPoint() OVERRIDE; 69 virtual gfx::Point GetCursorScreenPoint() override;
70 virtual bool WindowContainsPoint(gfx::Point pos) OVERRIDE; 70 virtual bool WindowContainsPoint(gfx::Point pos) override;
71 virtual bool IsWindowActive() OVERRIDE; 71 virtual bool IsWindowActive() override;
72 virtual void Hide() OVERRIDE; 72 virtual void Hide() override;
73 virtual void Show() OVERRIDE; 73 virtual void Show() override;
74 virtual bool IsAnimating() OVERRIDE; 74 virtual bool IsAnimating() override;
75 virtual bool CanMouseTriggerSlideIn() const OVERRIDE; 75 virtual bool CanMouseTriggerSlideIn() const override;
76 76
77 // content::NotificationObserver override: 77 // content::NotificationObserver override:
78 virtual void Observe(int type, 78 virtual void Observe(int type,
79 const content::NotificationSource& source, 79 const content::NotificationSource& source,
80 const content::NotificationDetails& details) OVERRIDE; 80 const content::NotificationDetails& details) override;
81 81
82 // views::WidgetObserver override: 82 // views::WidgetObserver override:
83 virtual void OnWidgetVisibilityChanged(views::Widget* widget, 83 virtual void OnWidgetVisibilityChanged(views::Widget* widget,
84 bool visible) OVERRIDE; 84 bool visible) override;
85 85
86 BrowserView* browser_view_; 86 BrowserView* browser_view_;
87 87
88 views::Widget* popup_; 88 views::Widget* popup_;
89 89
90 // Animation controlling showing/hiding of the exit bubble. 90 // Animation controlling showing/hiding of the exit bubble.
91 scoped_ptr<gfx::SlideAnimation> animation_; 91 scoped_ptr<gfx::SlideAnimation> animation_;
92 92
93 // Attribute animated by |animation_|. 93 // Attribute animated by |animation_|.
94 AnimatedAttribute animated_attribute_; 94 AnimatedAttribute animated_attribute_;
95 95
96 // The contents of the popup. 96 // The contents of the popup.
97 FullscreenExitView* view_; 97 FullscreenExitView* view_;
98 98
99 content::NotificationRegistrar registrar_; 99 content::NotificationRegistrar registrar_;
100 100
101 DISALLOW_COPY_AND_ASSIGN(FullscreenExitBubbleViews); 101 DISALLOW_COPY_AND_ASSIGN(FullscreenExitBubbleViews);
102 }; 102 };
103 103
104 #endif // CHROME_BROWSER_UI_VIEWS_FULLSCREEN_EXIT_BUBBLE_VIEWS_H_ 104 #endif // CHROME_BROWSER_UI_VIEWS_FULLSCREEN_EXIT_BUBBLE_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698