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

Side by Side Diff: chrome/browser/views/modal_dialog_delegate.h

Issue 560030: Refactored out JS specific part of modal dialog stack into its own class, exp... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 months 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Name: svn:eol-style
+ LF
OLDNEW
(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_BROWSER_VIEWS_MODAL_DIALOG_DELEGATE_H_
6 #define CHROME_BROWSER_VIEWS_MODAL_DIALOG_DELEGATE_H_
7
8 #include <string>
9
10 #include "views/window/dialog_delegate.h"
11
12 namespace views {
13 class Window;
14 }
15
16 class ModalDialogDelegate : public views::DialogDelegate {
17 public:
18 virtual ~ModalDialogDelegate() {}
19 // Methods called from AppModalDialog.
20 virtual gfx::NativeWindow GetDialogRootWindow() = 0;
21 virtual void ShowModalDialog();
22 virtual void ActivateModalDialog();
23 virtual void CloseModalDialog();
24 protected:
25 ModalDialogDelegate();
26
27 // The dialog if it is currently visible.
28 views::Window* dialog_;
29 };
30
31 #endif // CHROME_BROWSER_VIEWS_MODAL_DIALOG_DELEGATE_H_
32
OLDNEW
« no previous file with comments | « chrome/browser/views/jsmessage_box_dialog.cc ('k') | chrome/browser/views/modal_dialog_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698