| 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" | |
| 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/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 12 #include "build/build_config.h" |
| 12 #include "chrome/browser/download/download_commands.h" | 13 #include "chrome/browser/download/download_commands.h" |
| 13 #include "content/public/browser/download_item.h" | 14 #include "content/public/browser/download_item.h" |
| 14 #include "ui/base/models/simple_menu_model.h" | 15 #include "ui/base/models/simple_menu_model.h" |
| 15 | 16 |
| 16 namespace content { | 17 namespace content { |
| 17 class PageNavigator; | 18 class PageNavigator; |
| 18 } | 19 } |
| 19 | 20 |
| 20 // This class is responsible for the download shelf context menu. Platform | 21 // This class is responsible for the download shelf context menu. Platform |
| 21 // specific subclasses are responsible for creating and running the menu. | 22 // specific subclasses are responsible for creating and running the menu. |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 scoped_ptr<DownloadCommands> download_commands_; | 76 scoped_ptr<DownloadCommands> download_commands_; |
| 76 | 77 |
| 77 #if defined(OS_WIN) | 78 #if defined(OS_WIN) |
| 78 bool is_adobe_pdf_reader_up_to_date_; | 79 bool is_adobe_pdf_reader_up_to_date_; |
| 79 #endif | 80 #endif |
| 80 | 81 |
| 81 DISALLOW_COPY_AND_ASSIGN(DownloadShelfContextMenu); | 82 DISALLOW_COPY_AND_ASSIGN(DownloadShelfContextMenu); |
| 82 }; | 83 }; |
| 83 | 84 |
| 84 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_H_ | 85 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_H_ |
| OLD | NEW |