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

Side by Side Diff: chrome/browser/ui/gtk/download/download_item_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_ITEM_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_ITEM_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_ITEM_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_ITEM_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual ~DownloadItemGtk(); 48 virtual ~DownloadItemGtk();
49 49
50 // DownloadItem::Observer implementation. 50 // DownloadItem::Observer implementation.
51 virtual void OnDownloadUpdated(DownloadItem* download); 51 virtual void OnDownloadUpdated(DownloadItem* download);
52 virtual void OnDownloadOpened(DownloadItem* download) { } 52 virtual void OnDownloadOpened(DownloadItem* download) { }
53 53
54 // ui::AnimationDelegate implementation. 54 // ui::AnimationDelegate implementation.
55 virtual void AnimationProgressed(const ui::Animation* animation); 55 virtual void AnimationProgressed(const ui::Animation* animation);
56 56
57 // Overridden from NotificationObserver: 57 // Overridden from NotificationObserver:
58 virtual void Observe(NotificationType type, 58 virtual void Observe(int type,
59 const NotificationSource& source, 59 const NotificationSource& source,
60 const NotificationDetails& details); 60 const NotificationDetails& details);
61 61
62 // Called when the icon manager has finished loading the icon. We take 62 // Called when the icon manager has finished loading the icon. We take
63 // ownership of |icon_bitmap|. 63 // ownership of |icon_bitmap|.
64 void OnLoadSmallIconComplete(IconManager::Handle handle, 64 void OnLoadSmallIconComplete(IconManager::Handle handle,
65 gfx::Image* image); 65 gfx::Image* image);
66 void OnLoadLargeIconComplete(IconManager::Handle handle, 66 void OnLoadLargeIconComplete(IconManager::Handle handle,
67 gfx::Image* image); 67 gfx::Image* image);
68 68
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 // For canceling an in progress icon request. 236 // For canceling an in progress icon request.
237 CancelableRequestConsumerT<int, 0> icon_consumer_; 237 CancelableRequestConsumerT<int, 0> icon_consumer_;
238 238
239 // Indicates when the download has completed, so we don't redo 239 // Indicates when the download has completed, so we don't redo
240 // on-completion actions. 240 // on-completion actions.
241 bool download_complete_; 241 bool download_complete_;
242 }; 242 };
243 243
244 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_ITEM_GTK_H_ 244 #endif // CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_ITEM_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/custom_button.cc ('k') | chrome/browser/ui/gtk/download/download_item_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698