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

Side by Side Diff: chrome/browser/ui/gtk/download/download_shelf_gtk.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | 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_DOWNLOAD_DOWNLOAD_SHELF_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_SHELF_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_SHELF_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_SHELF_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual bool IsShowing() const; 45 virtual bool IsShowing() const;
46 virtual bool IsClosing() const; 46 virtual bool IsClosing() const;
47 virtual void Show(); 47 virtual void Show();
48 virtual void Close(); 48 virtual void Close();
49 virtual Browser* browser() const; 49 virtual Browser* browser() const;
50 50
51 // SlideAnimatorGtk::Delegate implementation. 51 // SlideAnimatorGtk::Delegate implementation.
52 virtual void Closed(); 52 virtual void Closed();
53 53
54 // Overridden from NotificationObserver: 54 // Overridden from NotificationObserver:
55 virtual void Observe(NotificationType type, 55 virtual void Observe(int type,
56 const NotificationSource& source, 56 const NotificationSource& source,
57 const NotificationDetails& details); 57 const NotificationDetails& details);
58 58
59 // Returns the current height of the shelf. 59 // Returns the current height of the shelf.
60 int GetHeight() const; 60 int GetHeight() const;
61 61
62 // MessageLoop::Observer implementation: 62 // MessageLoop::Observer implementation:
63 virtual void WillProcessEvent(GdkEvent* event); 63 virtual void WillProcessEvent(GdkEvent* event);
64 virtual void DidProcessEvent(GdkEvent* event); 64 virtual void DidProcessEvent(GdkEvent* event);
65 65
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // True if the mouse is within the shelf's bounds, as of the last mouse event 142 // True if the mouse is within the shelf's bounds, as of the last mouse event
143 // we received. 143 // we received.
144 bool mouse_in_shelf_; 144 bool mouse_in_shelf_;
145 145
146 ScopedRunnableMethodFactory<DownloadShelfGtk> auto_close_factory_; 146 ScopedRunnableMethodFactory<DownloadShelfGtk> auto_close_factory_;
147 147
148 friend class DownloadItemGtk; 148 friend class DownloadItemGtk;
149 }; 149 };
150 150
151 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_SHELF_GTK_H_ 151 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_SHELF_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/download/download_item_gtk.cc ('k') | chrome/browser/ui/gtk/download/download_shelf_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698