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

Unified Diff: chrome/browser/ui/gtk/global_error_bubble.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/global_error_bubble.h
diff --git a/chrome/browser/ui/gtk/global_error_bubble.h b/chrome/browser/ui/gtk/global_error_bubble.h
deleted file mode 100644
index 3cb5b0b41eec1b243429cb1089abd82018edfca5..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/gtk/global_error_bubble.h
+++ /dev/null
@@ -1,50 +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_GLOBAL_ERROR_BUBBLE_H_
-#define CHROME_BROWSER_UI_GTK_GLOBAL_ERROR_BUBBLE_H_
-
-#include <vector>
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "base/memory/weak_ptr.h"
-#include "chrome/browser/ui/global_error/global_error_bubble_view_base.h"
-#include "chrome/browser/ui/gtk/bubble/bubble_gtk.h"
-#include "ui/base/gtk/gtk_signal.h"
-
-typedef struct _GtkWidget GtkWidget;
-
-class GlobalErrorWithStandardBubble;
-class Profile;
-
-class GlobalErrorBubble : public BubbleDelegateGtk,
- public GlobalErrorBubbleViewBase {
- public:
- GlobalErrorBubble(Browser* browser,
- const base::WeakPtr<GlobalErrorWithStandardBubble>& error,
- GtkWidget* anchor);
- virtual ~GlobalErrorBubble();
-
- // BubbleDelegateGtk implementation.
- virtual void BubbleClosing(BubbleGtk* bubble, bool closed_by_escape) OVERRIDE;
-
- private:
- CHROMEGTK_CALLBACK_0(GlobalErrorBubble, void, OnDestroy);
- CHROMEGTK_CALLBACK_0(GlobalErrorBubble, void, OnAcceptButton);
- CHROMEGTK_CALLBACK_0(GlobalErrorBubble, void, OnCancelButton);
- CHROMEGTK_CALLBACK_0(GlobalErrorBubble, void, OnRealize);
-
- virtual void CloseBubbleView() OVERRIDE;
-
- Browser* browser_;
- BubbleGtk* bubble_;
- base::WeakPtr<GlobalErrorWithStandardBubble> error_;
- std::vector<GtkWidget*> message_labels_;
- int message_width_;
-
- DISALLOW_COPY_AND_ASSIGN(GlobalErrorBubble);
-};
-
-#endif // CHROME_BROWSER_UI_GTK_GLOBAL_ERROR_BUBBLE_H_

Powered by Google App Engine
This is Rietveld 408576698