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

Unified Diff: chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.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/infobars/confirm_infobar_gtk.h
diff --git a/chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.h b/chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.h
deleted file mode 100644
index f670ca3ec29bc66a68e19e06f9e34ed3f48e5dd8..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2011 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_INFOBARS_CONFIRM_INFOBAR_GTK_H_
-#define CHROME_BROWSER_UI_GTK_INFOBARS_CONFIRM_INFOBAR_GTK_H_
-
-#include "base/basictypes.h"
-#include "chrome/browser/infobars/confirm_infobar_delegate.h"
-#include "chrome/browser/ui/gtk/infobars/infobar_gtk.h"
-#include "ui/base/gtk/gtk_signal.h"
-
-typedef struct _GtkSizeGroup GtkSizeGroup;
-typedef struct _GtkWidget GtkWidget;
-
-// An infobar that shows a message, up to two optional buttons, and an optional,
-// right-aligned link. This is commonly used to do things like:
-// "Would you like to do X? [Yes] [No] _Learn More_ [x]"
-class ConfirmInfoBarGtk : public InfoBarGtk {
- public:
- explicit ConfirmInfoBarGtk(scoped_ptr<ConfirmInfoBarDelegate> delegate);
-
- private:
- virtual ~ConfirmInfoBarGtk();
-
- // InfoBarGtk:
- virtual void PlatformSpecificSetOwner() OVERRIDE;
-
- ConfirmInfoBarDelegate* GetDelegate();
-
- // Adds a button to the info bar by type. It will do nothing if the delegate
- // doesn't specify a button of the given type.
- void AddButton(ConfirmInfoBarDelegate::InfoBarButton type);
-
- CHROMEGTK_CALLBACK_0(ConfirmInfoBarGtk, void, OnOkButton);
- CHROMEGTK_CALLBACK_0(ConfirmInfoBarGtk, void, OnCancelButton);
- CHROMEGTK_CALLBACK_0(ConfirmInfoBarGtk, void, OnLinkClicked);
-
- GtkWidget* confirm_hbox_;
-
- GtkSizeGroup* size_group_;
-
- DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBarGtk);
-};
-
-#endif // CHROME_BROWSER_UI_GTK_INFOBARS_CONFIRM_INFOBAR_GTK_H_

Powered by Google App Engine
This is Rietveld 408576698