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

Side by Side Diff: chrome/browser/ui/views/simple_message_box_views.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/ui/simple_message_box.h" 5 #include "chrome/browser/ui/simple_message_box.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/message_loop/message_pump_dispatcher.h" 11 #include "base/message_loop/message_pump_dispatcher.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "chrome/browser/browser_process.h" 13 #include "chrome/browser/browser_process.h"
14 #include "chrome/browser/ui/views/constrained_window_views.h" 14 #include "chrome/browser/ui/views/constrained_window_views.h"
15 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
16 #include "ui/aura/client/dispatcher_client.h" 16 #include "ui/aura/client/dispatcher_client.h"
17 #include "ui/aura/env.h" 17 #include "ui/aura/env.h"
18 #include "ui/aura/root_window.h" 18 #include "ui/aura/window_event_dispatcher.h"
19 #include "ui/base/l10n/l10n_util.h" 19 #include "ui/base/l10n/l10n_util.h"
20 #include "ui/gfx/native_widget_types.h" 20 #include "ui/gfx/native_widget_types.h"
21 #include "ui/views/controls/message_box_view.h" 21 #include "ui/views/controls/message_box_view.h"
22 #include "ui/views/widget/widget.h" 22 #include "ui/views/widget/widget.h"
23 #include "ui/views/window/dialog_delegate.h" 23 #include "ui/views/window/dialog_delegate.h"
24 24
25 #if defined(OS_WIN) 25 #if defined(OS_WIN)
26 #include "ui/base/win/message_box_win.h" 26 #include "ui/base/win/message_box_win.h"
27 #include "ui/views/win/hwnd_util.h" 27 #include "ui/views/win/hwnd_util.h"
28 #endif 28 #endif
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 MessageBoxResult ShowMessageBoxWithButtonText(gfx::NativeWindow parent, 251 MessageBoxResult ShowMessageBoxWithButtonText(gfx::NativeWindow parent,
252 const base::string16& title, 252 const base::string16& title,
253 const base::string16& message, 253 const base::string16& message,
254 const base::string16& yes_text, 254 const base::string16& yes_text,
255 const base::string16& no_text) { 255 const base::string16& no_text) {
256 return ShowMessageBoxImpl( 256 return ShowMessageBoxImpl(
257 parent, title, message, MESSAGE_BOX_TYPE_QUESTION, yes_text, no_text); 257 parent, title, message, MESSAGE_BOX_TYPE_QUESTION, yes_text, no_text);
258 } 258 }
259 259
260 } // namespace chrome 260 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/screen_capture_notification_ui_views.cc ('k') | chrome/browser/ui/views/tabs/tab_drag_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698