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

Unified Diff: chrome/browser/ui/gtk/first_run_dialog.h

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/first_run_dialog.h
diff --git a/chrome/browser/ui/gtk/first_run_dialog.h b/chrome/browser/ui/gtk/first_run_dialog.h
deleted file mode 100644
index ededb19fd1d692e8ea757fa74fabe0e8549c71ff..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/gtk/first_run_dialog.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_GTK_FIRST_RUN_DIALOG_H_
-#define CHROME_BROWSER_UI_GTK_FIRST_RUN_DIALOG_H_
-
-typedef struct _GtkButton GtkButton;
-typedef struct _GtkWidget GtkWidget;
-
-#include "base/compiler_specific.h"
-#include "chrome/browser/first_run/first_run.h"
-#include "ui/base/gtk/gtk_signal.h"
-
-class FirstRunDialog {
- public:
- // Displays the first run UI for reporting opt-in, import data etc.
- // Returns true if the dialog was shown.
- static bool Show(Profile* profile);
-
- private:
- explicit FirstRunDialog(Profile* profile);
- virtual ~FirstRunDialog();
-
- CHROMEGTK_CALLBACK_1(FirstRunDialog, void, OnResponseDialog, int);
- CHROMEG_CALLBACK_0(FirstRunDialog, void, OnLearnMoreLinkClicked, GtkButton*);
-
- void ShowReportingDialog();
-
- // This method closes the first run window and quits the message loop so that
- // the Chrome startup can continue. This should be called when all the
- // first run tasks are done.
- void FirstRunDone();
-
- Profile* profile_;
-
- // Dialog that holds the bug reporting and default browser checkboxes.
- GtkWidget* dialog_;
-
- // Crash reporting checkbox
- GtkWidget* report_crashes_;
-
- // Make browser default checkbox
- GtkWidget* make_default_;
-
- // Whether we should show the dialog asking the user whether to report
- // crashes and usage stats.
- bool show_reporting_dialog_;
-
- // User response (accept or cancel) is returned through this.
- int* response_;
-
- DISALLOW_COPY_AND_ASSIGN(FirstRunDialog);
-};
-
-#endif // CHROME_BROWSER_UI_GTK_FIRST_RUN_DIALOG_H_

Powered by Google App Engine
This is Rietveld 408576698