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_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_H_ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_H_ |
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_H_ | 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "content/public/browser/download_item.h" | 12 #include "content/public/browser/download_item.h" |
13 #include "ui/base/models/simple_menu_model.h" | 13 #include "ui/base/models/simple_menu_model.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 class PageNavigator; | 16 class PageNavigator; |
17 } | 17 } |
18 | 18 |
19 // This class is responsible for the download shelf context menu. Platform | 19 // This class is responsible for the download shelf context menu. Platform |
20 // specific subclasses are responsible for creating and running the menu. | 20 // specific subclasses are responsible for creating and running the menu. |
21 // | 21 // |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // Information source. | 81 // Information source. |
82 content::DownloadItem* download_item_; | 82 content::DownloadItem* download_item_; |
83 | 83 |
84 // Used to open tabs. | 84 // Used to open tabs. |
85 content::PageNavigator* navigator_; | 85 content::PageNavigator* navigator_; |
86 | 86 |
87 DISALLOW_COPY_AND_ASSIGN(DownloadShelfContextMenu); | 87 DISALLOW_COPY_AND_ASSIGN(DownloadShelfContextMenu); |
88 }; | 88 }; |
89 | 89 |
90 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_H_ | 90 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_H_ |
OLD | NEW |