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

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

Issue 9964001: Revert 129762 - [Sync] [GTK] Add GTK version of the one-click signin dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/ui/gtk/one_click_signin_dialog_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/one_click_signin_dialog_gtk.h
===================================================================
--- chrome/browser/ui/gtk/one_click_signin_dialog_gtk.h (revision 129765)
+++ chrome/browser/ui/gtk/one_click_signin_dialog_gtk.h (working copy)
@@ -1,43 +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_ONE_CLICK_SIGNIN_DIALOG_GTK_H_
-#define CHROME_BROWSER_UI_GTK_ONE_CLICK_SIGNIN_DIALOG_GTK_H_
-#pragma once
-
-#include "chrome/browser/ui/sync/one_click_signin_dialog.h"
-
-#include "base/basictypes.h"
-#include "base/callback.h"
-#include "ui/base/gtk/gtk_signal.h"
-
-typedef struct _GtkWidget GtkWidget;
-typedef struct _GtkWindow GtkWindow;
-
-// Displays the one-click signin confirmation dialog (as a
-// window-modal dialog) and starts one-click signin if the user
-// accepts.
-class OneClickSigninDialogGtk {
- public:
- // Deletes self on close. The given callback will be called if the
- // user confirms the dialog.
- OneClickSigninDialogGtk(GtkWindow* parent_window,
- const OneClickAcceptCallback& accept_callback);
-
- void SendResponseForTest(int response_id);
- void SetUseDefaultSettingsForTest(bool use_default_settings);
-
- private:
- ~OneClickSigninDialogGtk();
-
- CHROMEGTK_CALLBACK_1(OneClickSigninDialogGtk, void, OnResponse, int);
-
- GtkWidget* dialog_;
- GtkWidget* use_default_settings_checkbox_;
- const OneClickAcceptCallback accept_callback_;
-
- DISALLOW_COPY_AND_ASSIGN(OneClickSigninDialogGtk);
-};
-
-#endif // CHROME_BROWSER_UI_GTK_ONE_CLICK_SIGNIN_DIALOG_GTK_H_
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/ui/gtk/one_click_signin_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698