OLD | NEW |
| (Empty) |
1 // Copyright (c) 2006-2008 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_VIEWS_WINDOW_APP_MODAL_DIALOG_DELEGATE_H_ | |
6 #define CHROME_VIEWS_WINDOW_APP_MODAL_DIALOG_DELEGATE_H_ | |
7 | |
8 #include "chrome/views/window/dialog_delegate.h" | |
9 | |
10 namespace views { | |
11 | |
12 // Pure virtual interface for a window which is app modal. | |
13 class AppModalDialogDelegate : public DialogDelegate { | |
14 public: | |
15 // Called by the app modal window queue when it is time to show this window. | |
16 virtual void ShowModalDialog() = 0; | |
17 | |
18 // Called by the app modal window queue to activate the window. | |
19 virtual void ActivateModalDialog() = 0; | |
20 }; | |
21 | |
22 } // namespace views | |
23 | |
24 #endif // #ifndef CHROME_VIEWS_WINDOW_APP_MODAL_DIALOG_DELEGATE_H_ | |
OLD | NEW |