Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: chrome/browser/download/download_shelf_context_menu.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/download/download_shelf_context_menu.h" 5 #include "chrome/browser/download/download_shelf_context_menu.h"
6 6
7 #include "build/build_config.h"
7 #include "chrome/browser/download/download_item_model.h" 8 #include "chrome/browser/download/download_item_model.h"
8 #include "chrome/grit/generated_resources.h" 9 #include "chrome/grit/generated_resources.h"
9 #include "content/public/common/content_features.h" 10 #include "content/public/common/content_features.h"
10 #include "extensions/common/extension.h" 11 #include "extensions/common/extension.h"
11 #include "ui/base/l10n/l10n_util.h" 12 #include "ui/base/l10n/l10n_util.h"
12 13
13 #if defined(OS_WIN) 14 #if defined(OS_WIN)
14 #include "chrome/browser/ui/pdf/adobe_reader_info_win.h" 15 #include "chrome/browser/ui/pdf/adobe_reader_info_win.h"
15 #endif 16 #endif
16 17
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 if (malicious_download_menu_model_) 318 if (malicious_download_menu_model_)
318 return malicious_download_menu_model_.get(); 319 return malicious_download_menu_model_.get();
319 320
320 malicious_download_menu_model_.reset(new ui::SimpleMenuModel(this)); 321 malicious_download_menu_model_.reset(new ui::SimpleMenuModel(this));
321 malicious_download_menu_model_->AddItem( 322 malicious_download_menu_model_->AddItem(
322 DownloadCommands::LEARN_MORE_SCANNING, 323 DownloadCommands::LEARN_MORE_SCANNING,
323 GetLabelForCommandId(DownloadCommands::LEARN_MORE_SCANNING)); 324 GetLabelForCommandId(DownloadCommands::LEARN_MORE_SCANNING));
324 325
325 return malicious_download_menu_model_.get(); 326 return malicious_download_menu_model_.get();
326 } 327 }
OLDNEW
« no previous file with comments | « chrome/browser/download/download_shelf_context_menu.h ('k') | chrome/browser/download/download_started_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698