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

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

Issue 6905049: Detect removed files and reflect the state in chrome://downloads and the download shelf (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merge with the latest revision Created 9 years, 6 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // The shelf on which we are displayed. 153 // The shelf on which we are displayed.
154 DownloadShelfGtk* parent_shelf_; 154 DownloadShelfGtk* parent_shelf_;
155 155
156 // The widget that contains the body and menu dropdown. 156 // The widget that contains the body and menu dropdown.
157 OwnedWidgetGtk hbox_; 157 OwnedWidgetGtk hbox_;
158 158
159 // The widget that contains the name of the download and the progress 159 // The widget that contains the name of the download and the progress
160 // animation. 160 // animation.
161 OwnedWidgetGtk body_; 161 OwnedWidgetGtk body_;
162 162
163 // The widget that contains the texts of |name_label_| and |status_label_|.
164 GtkWidget* text_stack_;
165
163 // The GtkLabel that holds the download title text. 166 // The GtkLabel that holds the download title text.
164 GtkWidget* name_label_; 167 GtkWidget* name_label_;
165 168
166 // The GtkLabel that holds the status text. 169 // The GtkLabel that holds the status text.
167 GtkWidget* status_label_; 170 GtkWidget* status_label_;
168 171
169 // The current text of status label 172 // The current text of status label
170 std::string status_text_; 173 std::string status_text_;
171 174
172 // The widget that creates a dropdown menu when pressed. 175 // The widget that creates a dropdown menu when pressed.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 235
233 // For canceling an in progress icon request. 236 // For canceling an in progress icon request.
234 CancelableRequestConsumerT<int, 0> icon_consumer_; 237 CancelableRequestConsumerT<int, 0> icon_consumer_;
235 238
236 // Indicates when the download has completed, so we don't redo 239 // Indicates when the download has completed, so we don't redo
237 // on-completion actions. 240 // on-completion actions.
238 bool download_complete_; 241 bool download_complete_;
239 }; 242 };
240 243
241 #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/cocoa/download/download_item_cell.mm ('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