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

Side by Side Diff: chrome/browser/ui/gtk/global_error_bubble.h

Issue 7857014: patch for global error bubbles (view/gtk) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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_UI_GTK_GLOBAL_ERROR_BUBBLE_H_
6 #define CHROME_BROWSER_UI_GTK_GLOBAL_ERROR_BUBBLE_H_
7 #pragma once
8
9 #include <gtk/gtk.h>
10
11 #include "chrome/browser/ui/gtk/bubble/bubble_gtk.h"
12
13 class GlobalErrorDelegate;
14 class Profile;
15
16 class GlobalErrorBubble : public BubbleDelegateGtk {
17 public:
18 GlobalErrorBubble(Profile* profile,
19 GlobalErrorDelegate* delegate,
20 GtkWidget* anchor);
21 virtual ~GlobalErrorBubble();
22
23 // BubbleDelegateGtk implementation.
24 virtual void BubbleClosing(BubbleGtk* bubble, bool closed_by_escape) OVERRIDE;
25
26 private:
27 CHROMEGTK_CALLBACK_0(GlobalErrorBubble, void, HandleDestroy);
28 CHROMEGTK_CALLBACK_0(GlobalErrorBubble, void, HandleAcceptButton);
29 CHROMEGTK_CALLBACK_0(GlobalErrorBubble, void, HandleCancelButton);
30
31 BubbleGtk* bubble_;
32 GlobalErrorDelegate* delegate_;
33
34 DISALLOW_COPY_AND_ASSIGN(GlobalErrorBubble);
35 };
36
37 #endif // CHROME_BROWSER_UI_GTK_GLOBAL_ERROR_BUBBLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_toolbar_gtk.cc ('k') | chrome/browser/ui/gtk/global_error_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698