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

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

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/message_loop_helpers.h" 12 #include "base/message_loop_helpers.h"
13 #include "chrome/browser/extensions/image_loading_tracker.h" 13 #include "chrome/browser/extensions/image_loading_tracker.h"
14 #include "chrome/browser/shell_integration.h" 14 #include "chrome/browser/shell_integration.h"
15 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 #include "ui/base/gtk/gtk_signal.h" 17 #include "ui/base/gtk/gtk_signal.h"
18 18
19 using content::BrowserThread; 19 using content::BrowserThread;
20 20
21 typedef struct _GdkPixbuf GdkPixbuf; 21 typedef struct _GdkPixbuf GdkPixbuf;
22 typedef struct _GtkWidget GtkWidget; 22 typedef struct _GtkWidget GtkWidget;
23 typedef struct _GtkWindow GtkWindow; 23 typedef struct _GtkWindow GtkWindow;
24 24
25 class Profile; 25 class Profile;
26 class TabContentsWrapper; 26 class TabContents;
27 typedef TabContents TabContentsWrapper;
27 28
28 namespace extensions{ 29 namespace extensions{
29 class Extension; 30 class Extension;
30 } 31 }
31 32
32 class CreateApplicationShortcutsDialogGtk 33 class CreateApplicationShortcutsDialogGtk
33 : public base::RefCountedThreadSafe<CreateApplicationShortcutsDialogGtk, 34 : public base::RefCountedThreadSafe<CreateApplicationShortcutsDialogGtk,
34 BrowserThread::DeleteOnUIThread> { 35 BrowserThread::DeleteOnUIThread> {
35 protected: 36 protected:
36 explicit CreateApplicationShortcutsDialogGtk(GtkWindow* parent); 37 explicit CreateApplicationShortcutsDialogGtk(GtkWindow* parent);
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 const ShellIntegration::ShortcutInfo& shortcut_info) OVERRIDE; 128 const ShellIntegration::ShortcutInfo& shortcut_info) OVERRIDE;
128 129
129 private: 130 private:
130 const extensions::Extension* app_; 131 const extensions::Extension* app_;
131 FilePath profile_path_; 132 FilePath profile_path_;
132 ImageLoadingTracker tracker_; 133 ImageLoadingTracker tracker_;
133 DISALLOW_COPY_AND_ASSIGN(CreateChromeApplicationShortcutsDialogGtk); 134 DISALLOW_COPY_AND_ASSIGN(CreateChromeApplicationShortcutsDialogGtk);
134 }; 135 };
135 136
136 #endif // CHROME_BROWSER_UI_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_ 137 #endif // CHROME_BROWSER_UI_GTK_CREATE_APPLICATION_SHORTCUTS_DIALOG_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/constrained_window_gtk.h ('k') | chrome/browser/ui/gtk/tab_contents_container_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698