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

Unified Diff: chrome/browser/native_app_modal_dialog.h

Issue 5471002: Move app_modal_dialog stuff to ui/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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
« no previous file with comments | « chrome/browser/message_box_handler.cc ('k') | chrome/browser/tab_contents/background_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/native_app_modal_dialog.h
===================================================================
--- chrome/browser/native_app_modal_dialog.h (revision 67887)
+++ chrome/browser/native_app_modal_dialog.h (working copy)
@@ -1,39 +0,0 @@
-// Copyright (c) 2010 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_NATIVE_APP_MODAL_DIALOG_H_
-#define CHROME_BROWSER_NATIVE_APP_MODAL_DIALOG_H_
-#pragma once
-
-#include "gfx/native_widget_types.h"
-
-class JavaScriptAppModalDialog;
-
-class NativeAppModalDialog {
- public:
- // Returns the buttons to be shown. See MessageBoxFlags for a description of
- // the values.
- virtual int GetAppModalDialogButtons() const = 0;
-
- // Shows the dialog.
- virtual void ShowAppModalDialog() = 0;
-
- // Activates the dialog.
- virtual void ActivateAppModalDialog() = 0;
-
- // Closes the dialog.
- virtual void CloseAppModalDialog() = 0;
-
- // Accepts or cancels the dialog.
- virtual void AcceptAppModalDialog() = 0;
- virtual void CancelAppModalDialog() = 0;
-
- // Creates an app modal dialog for a JavaScript prompt.
- static NativeAppModalDialog* CreateNativeJavaScriptPrompt(
- JavaScriptAppModalDialog* dialog,
- gfx::NativeWindow parent_window);
-};
-
-#endif // CHROME_BROWSER_NATIVE_APP_MODAL_DIALOG_H_
-
« no previous file with comments | « chrome/browser/message_box_handler.cc ('k') | chrome/browser/tab_contents/background_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698