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

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

Issue 273017: Move native_widget_types and gtk_native_view_id_manager from base/gfx to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « chrome/browser/views/browser_dialogs.h ('k') | chrome/browser/views/find_bar_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_CONFIRM_MESSAGE_BOX_DIALOG_H_ 5 #ifndef CHROME_BROWSER_VIEWS_CONFIRM_MESSAGE_BOX_DIALOG_H_
6 #define CHROME_BROWSER_VIEWS_CONFIRM_MESSAGE_BOX_DIALOG_H_ 6 #define CHROME_BROWSER_VIEWS_CONFIRM_MESSAGE_BOX_DIALOG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "app/gfx/native_widget_types.h"
10 #include "base/basictypes.h" 11 #include "base/basictypes.h"
11 #include "base/gfx/native_widget_types.h"
12 #include "views/controls/label.h" 12 #include "views/controls/label.h"
13 #include "views/window/dialog_delegate.h" 13 #include "views/window/dialog_delegate.h"
14 14
15 // An interface the confirm dialog uses to notify its clients (observers) when 15 // An interface the confirm dialog uses to notify its clients (observers) when
16 // the user makes a decision to confirm or cancel. Only one method will be 16 // the user makes a decision to confirm or cancel. Only one method will be
17 // invoked per use (i.e per invocation of ConfirmMessageBoxDialog::Run). 17 // invoked per use (i.e per invocation of ConfirmMessageBoxDialog::Run).
18 class ConfirmMessageBoxObserver { 18 class ConfirmMessageBoxObserver {
19 public: 19 public:
20 // The user explicitly confirmed by clicking "OK". 20 // The user explicitly confirmed by clicking "OK".
21 virtual void OnConfirmMessageAccept() = 0; 21 virtual void OnConfirmMessageAccept() = 0;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // This is the Title bar text. 69 // This is the Title bar text.
70 std::wstring window_title_; 70 std::wstring window_title_;
71 71
72 // The observer to notify of acceptance or cancellation. 72 // The observer to notify of acceptance or cancellation.
73 ConfirmMessageBoxObserver* observer_; 73 ConfirmMessageBoxObserver* observer_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(ConfirmMessageBoxDialog); 75 DISALLOW_COPY_AND_ASSIGN(ConfirmMessageBoxDialog);
76 }; 76 };
77 77
78 #endif // CHROME_BROWSER_VIEWS_CONFIRM_MESSAGE_BOX_DIALOG_H_ 78 #endif // CHROME_BROWSER_VIEWS_CONFIRM_MESSAGE_BOX_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/browser_dialogs.h ('k') | chrome/browser/views/find_bar_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698