summaryrefslogtreecommitdiffstats
path: root/chrome/views
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 02:40:50 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 02:40:50 +0000
commitb3a7033870585fff515df0c6e40ac2ac93b01db8 (patch)
tree5a36de90c758fc781f31d57e8e5f8d2197bf1337 /chrome/views
parent1e187afa75fe66d8525651c1f395c40e8227844d (diff)
downloadchromium_src-b3a7033870585fff515df0c6e40ac2ac93b01db8.zip
chromium_src-b3a7033870585fff515df0c6e40ac2ac93b01db8.tar.gz
chromium_src-b3a7033870585fff515df0c6e40ac2ac93b01db8.tar.bz2
ui test fail. revert.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10322 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views')
-rw-r--r--chrome/views/app_modal_dialog_delegate.h25
-rw-r--r--chrome/views/views.vcproj4
2 files changed, 29 insertions, 0 deletions
diff --git a/chrome/views/app_modal_dialog_delegate.h b/chrome/views/app_modal_dialog_delegate.h
new file mode 100644
index 0000000..b8fefb4
--- /dev/null
+++ b/chrome/views/app_modal_dialog_delegate.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2006-2008 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_VIEWS_APP_MODAL_DIALOG_DELEGATE_H__
+#define CHROME_VIEWS_APP_MODAL_DIALOG_DELEGATE_H__
+
+#include "chrome/views/dialog_delegate.h"
+
+namespace views {
+
+// Pure virtual interface for a window which is app modal.
+class AppModalDialogDelegate : public DialogDelegate {
+ public:
+ // Called by the app modal window queue when it is time to show this window.
+ virtual void ShowModalDialog() = 0;
+
+ // Called by the app modal window queue to activate the window.
+ virtual void ActivateModalDialog() = 0;
+};
+
+} // namespace views
+
+#endif // #ifndef CHROME_VIEWS_APP_MODAL_DIALOG_DELEGATE_H__
+
diff --git a/chrome/views/views.vcproj b/chrome/views/views.vcproj
index 845f0eb..9656303 100644
--- a/chrome/views/views.vcproj
+++ b/chrome/views/views.vcproj
@@ -166,6 +166,10 @@
>
</File>
<File
+ RelativePath=".\app_modal_dialog_delegate.h"
+ >
+ </File>
+ <File
RelativePath=".\background.cc"
>
</File>