diff options
Diffstat (limited to 'chrome/browser/views/restart_message_box.h')
-rw-r--r-- | chrome/browser/views/restart_message_box.h | 36 |
1 files changed, 3 insertions, 33 deletions
diff --git a/chrome/browser/views/restart_message_box.h b/chrome/browser/views/restart_message_box.h index 816fe6c..1547e92 100644 --- a/chrome/browser/views/restart_message_box.h +++ b/chrome/browser/views/restart_message_box.h @@ -6,38 +6,8 @@ #define CHROME_BROWSER_VIEWS_RESTART_MESSAGE_BOX_H_ #pragma once -#include "base/basictypes.h" -#include "gfx/native_widget_types.h" -#include "views/window/dialog_delegate.h" - -class MessageBoxView; - -// A dialog box that tells the user that s/he needs to restart Chrome -// for a change to take effect. -class RestartMessageBox : public views::DialogDelegate { - public: - // This box is modal to |parent_window|. - static void ShowMessageBox(gfx::NativeWindow parent_window); - - protected: - // views::DialogDelegate: - virtual int GetDialogButtons() const; - virtual std::wstring GetDialogButtonLabel( - MessageBoxFlags::DialogButton button) const; - virtual std::wstring GetWindowTitle() const; - - // views::WindowDelegate: - virtual void DeleteDelegate(); - virtual bool IsModal() const; - virtual views::View* GetContentsView(); - - private: - explicit RestartMessageBox(gfx::NativeWindow parent_window); - virtual ~RestartMessageBox(); - - MessageBoxView* message_box_view_; - - DISALLOW_COPY_AND_ASSIGN(RestartMessageBox); -}; +#include "chrome/browser/ui/views/restart_message_box.h" +// TODO(beng): remove this file once all includes have been updated. #endif // CHROME_BROWSER_VIEWS_RESTART_MESSAGE_BOX_H_ + |