Home | History | Annotate | Download | only in gtk
      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_UPDATE_RECOMMENDED_DIALOG_H_
      6 #define CHROME_BROWSER_UI_GTK_UPDATE_RECOMMENDED_DIALOG_H_
      7 #pragma once
      8 
      9 #include "base/basictypes.h"
     10 #include "ui/base/gtk/gtk_integers.h"
     11 #include "ui/base/gtk/gtk_signal.h"
     12 
     13 typedef struct _GtkWidget GtkWidget;
     14 typedef struct _GtkWindow GtkWindow;
     15 
     16 class UpdateRecommendedDialog {
     17  public:
     18   static void Show(GtkWindow* parent);
     19 
     20  private:
     21   explicit UpdateRecommendedDialog(GtkWindow* parent);
     22   ~UpdateRecommendedDialog();
     23 
     24   CHROMEGTK_CALLBACK_1(UpdateRecommendedDialog, void, OnResponse, int);
     25 
     26   GtkWidget* dialog_;
     27 
     28   DISALLOW_COPY_AND_ASSIGN(UpdateRecommendedDialog);
     29 };
     30 
     31 #endif  // CHROME_BROWSER_UI_GTK_UPDATE_RECOMMENDED_DIALOG_H_
     32