| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 // by View. | 145 // by View. |
| 146 views::Link* show_all_view_; | 146 views::Link* show_all_view_; |
| 147 | 147 |
| 148 // Button for closing the downloads. This is contained as a child, and | 148 // Button for closing the downloads. This is contained as a child, and |
| 149 // deleted by View. | 149 // deleted by View. |
| 150 views::ImageButton* close_button_; | 150 views::ImageButton* close_button_; |
| 151 | 151 |
| 152 // The window this shelf belongs to. | 152 // The window this shelf belongs to. |
| 153 BrowserView* parent_; | 153 BrowserView* parent_; |
| 154 | 154 |
| 155 // Whether we are auto-closing. |
| 156 bool auto_closed_; |
| 157 |
| 155 views::MouseWatcher mouse_watcher_; | 158 views::MouseWatcher mouse_watcher_; |
| 156 | 159 |
| 157 DISALLOW_COPY_AND_ASSIGN(DownloadShelfView); | 160 DISALLOW_COPY_AND_ASSIGN(DownloadShelfView); |
| 158 }; | 161 }; |
| 159 | 162 |
| 160 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ | 163 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ |
| OLD | NEW |