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_CONTEXT_MENU_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_VIEW_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "chrome/browser/download/download_shelf_context_menu.h" | 12 #include "chrome/browser/download/download_shelf_context_menu.h" |
13 #include "ui/base/ui_base_types.h" | 13 #include "ui/base/ui_base_types.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 class DownloadItem; | 16 class DownloadItem; |
17 class PageNavigator; | 17 class PageNavigator; |
18 } | 18 } |
19 | 19 |
(...skipping 22 matching lines...) Expand all Loading... |
42 private: | 42 private: |
43 scoped_ptr<views::MenuRunner> menu_runner_; | 43 scoped_ptr<views::MenuRunner> menu_runner_; |
44 | 44 |
45 // Time the menu was closed. | 45 // Time the menu was closed. |
46 base::TimeTicks close_time_; | 46 base::TimeTicks close_time_; |
47 | 47 |
48 DISALLOW_COPY_AND_ASSIGN(DownloadShelfContextMenuView); | 48 DISALLOW_COPY_AND_ASSIGN(DownloadShelfContextMenuView); |
49 }; | 49 }; |
50 | 50 |
51 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_VIEW_H_ | 51 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_VIEW_H_ |
OLD | NEW |