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

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

Issue 2263005: Linux: use web application meta tags for application shortcuts where possible. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: use web_app Created 10 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
« no previous file with comments | « no previous file | chrome/browser/gtk/create_application_shortcuts_dialog_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_
6 #define CHROME_BROWSER_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_ 6 #define CHROME_BROWSER_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_
7 7
8 #include "app/gtk_signal.h" 8 #include "app/gtk_signal.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 const ShellIntegration::ShortcutInfo& shortcut_info); 44 const ShellIntegration::ShortcutInfo& shortcut_info);
45 void ShowErrorDialog(); 45 void ShowErrorDialog();
46 46
47 // UI elements. 47 // UI elements.
48 GtkWidget* desktop_checkbox_; 48 GtkWidget* desktop_checkbox_;
49 GtkWidget* menu_checkbox_; 49 GtkWidget* menu_checkbox_;
50 50
51 // TabContents for which the shortcut will be created. 51 // TabContents for which the shortcut will be created.
52 TabContents* tab_contents_; 52 TabContents* tab_contents_;
53 53
54 // Target URL of the shortcut.
55 GURL url_;
56
57 // Visible title of the shortcut.
58 string16 title_;
59
60 // The favicon of the tab contents, used to set the icon on the desktop.
61 SkBitmap favicon_;
62
63 // Dialog box that allows the user to create an application shortcut. 54 // Dialog box that allows the user to create an application shortcut.
64 GtkWidget* create_dialog_; 55 GtkWidget* create_dialog_;
65 56
66 // Dialog box that shows the error message. 57 // Dialog box that shows the error message.
67 GtkWidget* error_dialog_; 58 GtkWidget* error_dialog_;
68 59
69 DISALLOW_COPY_AND_ASSIGN(CreateApplicationShortcutsDialogGtk); 60 DISALLOW_COPY_AND_ASSIGN(CreateApplicationShortcutsDialogGtk);
70 }; 61 };
71 62
72 #endif // CHROME_BROWSER_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_ 63 #endif // CHROME_BROWSER_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/gtk/create_application_shortcuts_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698