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

Side by Side Diff: chrome/browser/ui/gtk/status_bubble_gtk.h

Issue 8632022: Add OVERRIDE to chrome/browser/ui/gtk/. (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_GTK_STATUS_BUBBLE_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_STATUS_BUBBLE_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_STATUS_BUBBLE_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_STATUS_BUBBLE_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual void MouseMoved(const gfx::Point& location, 50 virtual void MouseMoved(const gfx::Point& location,
51 bool left_content) OVERRIDE; 51 bool left_content) OVERRIDE;
52 52
53 // ui::AnimationDelegate implementation. 53 // ui::AnimationDelegate implementation.
54 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE; 54 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE;
55 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; 55 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
56 56
57 // Called when the download shelf becomes visible or invisible. 57 // Called when the download shelf becomes visible or invisible.
58 // This is used by to ensure that the status bubble does not obscure 58 // This is used by to ensure that the status bubble does not obscure
59 // the download shelf, when it is visible. 59 // the download shelf, when it is visible.
60 virtual void UpdateDownloadShelfVisibility(bool visible); 60 virtual void UpdateDownloadShelfVisibility(bool visible) OVERRIDE;
61 61
62 // Overridden from content::NotificationObserver: 62 // Overridden from content::NotificationObserver:
63 virtual void Observe(int type, 63 virtual void Observe(int type,
64 const content::NotificationSource& source, 64 const content::NotificationSource& source,
65 const content::NotificationDetails& details) OVERRIDE; 65 const content::NotificationDetails& details) OVERRIDE;
66 66
67 // Top of the widget hierarchy for a StatusBubble. This top level widget is 67 // Top of the widget hierarchy for a StatusBubble. This top level widget is
68 // guarenteed to have its gtk_widget_name set to "status-bubble" for 68 // guarenteed to have its gtk_widget_name set to "status-bubble" for
69 // identification. 69 // identification.
70 GtkWidget* widget() { return container_.get(); } 70 GtkWidget* widget() { return container_.get(); }
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // when its text changes, triggering a size change. 169 // when its text changes, triggering a size change.
170 gfx::Point last_mouse_location_; 170 gfx::Point last_mouse_location_;
171 bool last_mouse_left_content_; 171 bool last_mouse_left_content_;
172 172
173 // Shortly after the cursor enters the status bubble, we'll get a message 173 // Shortly after the cursor enters the status bubble, we'll get a message
174 // that the cursor left the content area. This lets us ignore that. 174 // that the cursor left the content area. This lets us ignore that.
175 bool ignore_next_left_content_; 175 bool ignore_next_left_content_;
176 }; 176 };
177 177
178 #endif // CHROME_BROWSER_UI_GTK_STATUS_BUBBLE_GTK_H_ 178 #endif // CHROME_BROWSER_UI_GTK_STATUS_BUBBLE_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/slide_animator_gtk.h ('k') | chrome/browser/ui/gtk/status_icons/status_icon_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698