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

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

Issue 114047: Add import progress indicator dialog. (Closed)
Patch Set: code review fixes Created 11 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 | « chrome/browser/gtk/import_dialog_gtk.cc ('k') | chrome/browser/gtk/import_lock_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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_GTK_IMPORT_LOCK_DIALOG_GTK_H_
6 #define CHROME_BROWSER_GTK_IMPORT_LOCK_DIALOG_GTK_H_
7
8 #include "chrome/browser/importer/importer.h"
9
10 #include <gtk/gtk.h>
11
12 class ImportLockDialogGtk {
13 public:
14 // Displays the Firefox profile locked warning
15 static void Show(GtkWindow* parent, ImporterHost* importer_host);
16
17 private:
18 ImportLockDialogGtk(GtkWindow* parent, ImporterHost* importer_host);
19 ~ImportLockDialogGtk() { }
20
21 static void HandleOnResponseDialog(GtkWidget* widget,
22 int response,
23 gpointer user_data) {
24 reinterpret_cast<ImportLockDialogGtk*>(user_data)->OnDialogResponse(
25 widget, response);
26 }
27 void OnDialogResponse(GtkWidget* widget, int response);
28
29 // Dialog box
30 GtkWidget* dialog_;
31
32 // Utility class that does the actual import.
33 scoped_refptr<ImporterHost> importer_host_;
34
35 DISALLOW_COPY_AND_ASSIGN(ImportLockDialogGtk);
36 };
37
38 #endif // CHROME_BROWSER_GTK_IMPORT_LOCK_DIALOG_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/import_dialog_gtk.cc ('k') | chrome/browser/gtk/import_lock_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698