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

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

Issue 3179017: FBTF: Remove "obviously" unneeded standard C++ library #includes. (Closed)
Patch Set: fixed mac oopsie Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_MODAL_DIALOG_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_VIEWS_MODAL_DIALOG_DELEGATE_H_
6 #define CHROME_BROWSER_VIEWS_MODAL_DIALOG_DELEGATE_H_ 6 #define CHROME_BROWSER_VIEWS_MODAL_DIALOG_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string>
10
11 #include "views/window/dialog_delegate.h" 9 #include "views/window/dialog_delegate.h"
12 10
13 namespace views { 11 namespace views {
14 class Window; 12 class Window;
15 } 13 }
16 14
17 class ModalDialogDelegate : public views::DialogDelegate { 15 class ModalDialogDelegate : public views::DialogDelegate {
18 public: 16 public:
19 virtual ~ModalDialogDelegate() {} 17 virtual ~ModalDialogDelegate() {}
20 // Methods called from AppModalDialog. 18 // Methods called from AppModalDialog.
21 virtual gfx::NativeWindow GetDialogRootWindow() = 0; 19 virtual gfx::NativeWindow GetDialogRootWindow() = 0;
22 virtual void ShowModalDialog(); 20 virtual void ShowModalDialog();
23 virtual void ActivateModalDialog(); 21 virtual void ActivateModalDialog();
24 virtual void CloseModalDialog(); 22 virtual void CloseModalDialog();
25 protected: 23 protected:
26 ModalDialogDelegate(); 24 ModalDialogDelegate();
27 25
28 // The dialog if it is currently visible. 26 // The dialog if it is currently visible.
29 views::Window* dialog_; 27 views::Window* dialog_;
30 }; 28 };
31 29
32 #endif // CHROME_BROWSER_VIEWS_MODAL_DIALOG_DELEGATE_H_ 30 #endif // CHROME_BROWSER_VIEWS_MODAL_DIALOG_DELEGATE_H_
33 31
OLDNEW
« no previous file with comments | « chrome/browser/views/local_storage_set_item_info_view.h ('k') | chrome/browser/views/tabs/tab_renderer_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698