OLD | NEW |
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_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 // by View. | 147 // by View. |
148 views::Link* show_all_view_; | 148 views::Link* show_all_view_; |
149 | 149 |
150 // Button for closing the downloads. This is contained as a child, and | 150 // Button for closing the downloads. This is contained as a child, and |
151 // deleted by View. | 151 // deleted by View. |
152 views::ImageButton* close_button_; | 152 views::ImageButton* close_button_; |
153 | 153 |
154 // The window this shelf belongs to. | 154 // The window this shelf belongs to. |
155 BrowserView* parent_; | 155 BrowserView* parent_; |
156 | 156 |
| 157 // Whether we are auto-closing. |
| 158 bool auto_closed_; |
| 159 |
157 views::MouseWatcher mouse_watcher_; | 160 views::MouseWatcher mouse_watcher_; |
158 | 161 |
159 DISALLOW_COPY_AND_ASSIGN(DownloadShelfView); | 162 DISALLOW_COPY_AND_ASSIGN(DownloadShelfView); |
160 }; | 163 }; |
161 | 164 |
162 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ | 165 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ |
OLD | NEW |