| Index: chrome/browser/download/download_shelf_context_menu.h
|
| diff --git a/chrome/browser/download/download_shelf_context_menu.h b/chrome/browser/download/download_shelf_context_menu.h
|
| index 15b6504c7807cd63035ceca7b1ef4d7cfc9c8b6f..22b6d5a7d4761f15c804112a3564933783ddd91d 100644
|
| --- a/chrome/browser/download/download_shelf_context_menu.h
|
| +++ b/chrome/browser/download/download_shelf_context_menu.h
|
| @@ -73,6 +73,13 @@ class DownloadShelfContextMenu : public ui::SimpleMenuModel::Delegate,
|
| ui::SimpleMenuModel* GetMaybeMaliciousMenuModel();
|
| ui::SimpleMenuModel* GetMaliciousMenuModel();
|
|
|
| + int GetAlwaysOpenStringId() const;
|
| +
|
| +#if defined(OS_WIN)
|
| + bool IsDownloadPdf() const;
|
| + bool CanOpenPdfInReader() const;
|
| +#endif
|
| +
|
| // We show slightly different menus if the download is in progress vs. if the
|
| // download has finished.
|
| scoped_ptr<ui::SimpleMenuModel> in_progress_download_menu_model_;
|
| @@ -87,6 +94,10 @@ class DownloadShelfContextMenu : public ui::SimpleMenuModel::Delegate,
|
| // Used to open tabs.
|
| content::PageNavigator* navigator_;
|
|
|
| +#if defined(OS_WIN)
|
| + bool is_pdf_reader_up_to_date_;
|
| +#endif
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(DownloadShelfContextMenu);
|
| };
|
|
|
|
|