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

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

Issue 2929733003: MacViews: Wire up CreateChromeApplicationShortcutView
Patch Set: rename ivar Created 3 years, 6 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 #ifndef CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // Profile in which the shortcuts will be created. 62 // Profile in which the shortcuts will be created.
63 Profile* profile_; 63 Profile* profile_;
64 64
65 base::Callback<void(bool)> close_callback_; 65 base::Callback<void(bool)> close_callback_;
66 66
67 // UI elements on the dialog. 67 // UI elements on the dialog.
68 views::Label* create_shortcuts_label_; 68 views::Label* create_shortcuts_label_;
69 69
70 // May be null if the platform doesn't support a particular location. 70 // May be null if the platform doesn't support a particular location.
71 views::Checkbox* desktop_check_box_; 71 views::Checkbox* desktop_check_box_;
72 views::Checkbox* menu_check_box_; 72 views::Checkbox* applications_check_box_;
73 views::Checkbox* quick_launch_check_box_; 73 views::Checkbox* quick_launch_check_box_;
74 74
75 // Target shortcut and file handler info. 75 // Target shortcut and file handler info.
76 std::unique_ptr<web_app::ShortcutInfo> shortcut_info_; 76 std::unique_ptr<web_app::ShortcutInfo> shortcut_info_;
77 77
78 base::WeakPtrFactory<CreateChromeApplicationShortcutView> weak_ptr_factory_; 78 base::WeakPtrFactory<CreateChromeApplicationShortcutView> weak_ptr_factory_;
79 79
80 DISALLOW_COPY_AND_ASSIGN(CreateChromeApplicationShortcutView); 80 DISALLOW_COPY_AND_ASSIGN(CreateChromeApplicationShortcutView);
81 }; 81 };
82 82
83 #endif // CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_ 83 #endif // CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698