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

Side by Side Diff: chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h

Issue 14383003: Application shortcuts in Linux are now installed into a "Chrome Apps" folder. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: GetDirectoryFileContents needs the same \n hack as GetDesktopFileContents. 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_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual void ShowErrorDialog(); 63 virtual void ShowErrorDialog();
64 64
65 GtkWindow* parent_; 65 GtkWindow* parent_;
66 66
67 // UI elements. 67 // UI elements.
68 GtkWidget* desktop_checkbox_; 68 GtkWidget* desktop_checkbox_;
69 GtkWidget* menu_checkbox_; 69 GtkWidget* menu_checkbox_;
70 70
71 // ShortcutInfo for the new shortcut. 71 // ShortcutInfo for the new shortcut.
72 ShellIntegration::ShortcutInfo shortcut_info_; 72 ShellIntegration::ShortcutInfo shortcut_info_;
73 string16 shortcut_menu_subdir_;
73 74
74 // Image associated with the site or app, scaled to the appropriate size to 75 // Image associated with the site or app, scaled to the appropriate size to
75 // display in the dialog box. 76 // display in the dialog box.
76 GdkPixbuf* favicon_pixbuf_; 77 GdkPixbuf* favicon_pixbuf_;
77 78
78 // Dialog box that allows the user to create an application shortcut. 79 // Dialog box that allows the user to create an application shortcut.
79 GtkWidget* create_dialog_; 80 GtkWidget* create_dialog_;
80 81
81 // Dialog box that shows the error message. 82 // Dialog box that shows the error message.
82 GtkWidget* error_dialog_; 83 GtkWidget* error_dialog_;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 void OnShortcutInfoLoaded( 132 void OnShortcutInfoLoaded(
132 const ShellIntegration::ShortcutInfo& shortcut_info); 133 const ShellIntegration::ShortcutInfo& shortcut_info);
133 134
134 private: 135 private:
135 const extensions::Extension* app_; 136 const extensions::Extension* app_;
136 base::FilePath profile_path_; 137 base::FilePath profile_path_;
137 DISALLOW_COPY_AND_ASSIGN(CreateChromeApplicationShortcutsDialogGtk); 138 DISALLOW_COPY_AND_ASSIGN(CreateChromeApplicationShortcutsDialogGtk);
138 }; 139 };
139 140
140 #endif // CHROME_BROWSER_UI_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_ 141 #endif // CHROME_BROWSER_UI_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/shell_integration_unittest.cc ('k') | chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698