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

Side by Side Diff: chrome/browser/ui/views/create_application_shortcut_view.cc

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (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/ui/views/create_application_shortcut_view.h" 5 #include "chrome/browser/ui/views/create_application_shortcut_view.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 #include <cmath> 10 #include <cmath>
9 11
10 #include "base/bind.h" 12 #include "base/bind.h"
11 #include "base/bind_helpers.h" 13 #include "base/bind_helpers.h"
12 #include "base/prefs/pref_service.h" 14 #include "base/prefs/pref_service.h"
13 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
14 #include "base/win/windows_version.h" 16 #include "base/win/windows_version.h"
17 #include "build/build_config.h"
15 #include "chrome/browser/extensions/tab_helper.h" 18 #include "chrome/browser/extensions/tab_helper.h"
16 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/browser/ui/browser.h" 20 #include "chrome/browser/ui/browser.h"
18 #include "chrome/browser/ui/browser_commands.h" 21 #include "chrome/browser/ui/browser_commands.h"
19 #include "chrome/browser/ui/browser_finder.h" 22 #include "chrome/browser/ui/browser_finder.h"
20 #include "chrome/browser/ui/webui/extensions/extension_icon_source.h" 23 #include "chrome/browser/ui/webui/extensions/extension_icon_source.h"
21 #include "chrome/browser/web_applications/web_app.h" 24 #include "chrome/browser/web_applications/web_app.h"
22 #include "chrome/common/chrome_constants.h" 25 #include "chrome/common/chrome_constants.h"
23 #include "chrome/common/pref_names.h" 26 #include "chrome/common/pref_names.h"
24 #include "chrome/grit/generated_resources.h" 27 #include "chrome/grit/generated_resources.h"
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 close_callback_.Run(false); 554 close_callback_.Run(false);
552 return CreateApplicationShortcutView::Cancel(); 555 return CreateApplicationShortcutView::Cancel();
553 } 556 }
554 557
555 void CreateChromeApplicationShortcutView::OnAppInfoLoaded( 558 void CreateChromeApplicationShortcutView::OnAppInfoLoaded(
556 scoped_ptr<web_app::ShortcutInfo> shortcut_info, 559 scoped_ptr<web_app::ShortcutInfo> shortcut_info,
557 const extensions::FileHandlersInfo& file_handlers_info) { 560 const extensions::FileHandlersInfo& file_handlers_info) {
558 shortcut_info_ = shortcut_info.Pass(); 561 shortcut_info_ = shortcut_info.Pass();
559 file_handlers_info_ = file_handlers_info; 562 file_handlers_info_ = file_handlers_info;
560 } 563 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698