| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |