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

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

Issue 14533004: Start menu shortcuts for apps on Windows are now inside a "Chrome Apps" submenu. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Don't put URL Apps in the Chrome Apps folder. And delete Chrome Apps folder when empty. Created 7 years, 7 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 // UI elements on the dialog. 72 // UI elements on the dialog.
73 views::View* app_info_; 73 views::View* app_info_;
74 views::Label* create_shortcuts_label_; 74 views::Label* create_shortcuts_label_;
75 views::Checkbox* desktop_check_box_; 75 views::Checkbox* desktop_check_box_;
76 views::Checkbox* menu_check_box_; 76 views::Checkbox* menu_check_box_;
77 views::Checkbox* quick_launch_check_box_; 77 views::Checkbox* quick_launch_check_box_;
78 78
79 // Target shortcut info. 79 // Target shortcut info.
80 ShellIntegration::ShortcutInfo shortcut_info_; 80 ShellIntegration::ShortcutInfo shortcut_info_;
81 string16 shortcut_menu_subdir_;
81 82
82 DISALLOW_COPY_AND_ASSIGN(CreateApplicationShortcutView); 83 DISALLOW_COPY_AND_ASSIGN(CreateApplicationShortcutView);
83 }; 84 };
84 85
85 // Create an application shortcut pointing to a URL. 86 // Create an application shortcut pointing to a URL.
86 class CreateUrlApplicationShortcutView : public CreateApplicationShortcutView { 87 class CreateUrlApplicationShortcutView : public CreateApplicationShortcutView {
87 public: 88 public:
88 explicit CreateUrlApplicationShortcutView(content::WebContents* web_contents); 89 explicit CreateUrlApplicationShortcutView(content::WebContents* web_contents);
89 virtual ~CreateUrlApplicationShortcutView(); 90 virtual ~CreateUrlApplicationShortcutView();
90 91
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 const ShellIntegration::ShortcutInfo& shortcut_info); 128 const ShellIntegration::ShortcutInfo& shortcut_info);
128 129
129 const extensions::Extension* app_; 130 const extensions::Extension* app_;
130 131
131 base::WeakPtrFactory<CreateChromeApplicationShortcutView> weak_ptr_factory_; 132 base::WeakPtrFactory<CreateChromeApplicationShortcutView> weak_ptr_factory_;
132 133
133 DISALLOW_COPY_AND_ASSIGN(CreateChromeApplicationShortcutView); 134 DISALLOW_COPY_AND_ASSIGN(CreateChromeApplicationShortcutView);
134 }; 135 };
135 136
136 #endif // CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_ 137 #endif // CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698