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

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

Issue 1413153010: Move components/startup_metric_utils/* to components/startup_metric_utils/browser/*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/startup/default_browser_prompt_win.cc ('k') | chrome/chrome_browser.gypi » ('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) 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/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "chrome/browser/ui/simple_message_box_internal.h" 11 #include "chrome/browser/ui/simple_message_box_internal.h"
12 #include "chrome/grit/generated_resources.h" 12 #include "chrome/grit/generated_resources.h"
13 #include "components/constrained_window/constrained_window_views.h" 13 #include "components/constrained_window/constrained_window_views.h"
14 #include "components/startup_metric_utils/startup_metric_utils.h" 14 #include "components/startup_metric_utils/browser/startup_metric_utils.h"
15 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
16 #include "ui/base/resource/resource_bundle.h" 16 #include "ui/base/resource/resource_bundle.h"
17 #include "ui/gfx/native_widget_types.h" 17 #include "ui/gfx/native_widget_types.h"
18 #include "ui/views/controls/message_box_view.h" 18 #include "ui/views/controls/message_box_view.h"
19 #include "ui/views/widget/widget.h" 19 #include "ui/views/widget/widget.h"
20 #include "ui/views/window/dialog_delegate.h" 20 #include "ui/views/window/dialog_delegate.h"
21 21
22 #if defined(OS_WIN) 22 #if defined(OS_WIN)
23 #include "ui/base/win/message_box_win.h" 23 #include "ui/base/win/message_box_win.h"
24 #include "ui/views/win/hwnd_util.h" 24 #include "ui/views/win/hwnd_util.h"
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 MessageBoxResult ShowMessageBoxWithButtonText(gfx::NativeWindow parent, 259 MessageBoxResult ShowMessageBoxWithButtonText(gfx::NativeWindow parent,
260 const base::string16& title, 260 const base::string16& title,
261 const base::string16& message, 261 const base::string16& message,
262 const base::string16& yes_text, 262 const base::string16& yes_text,
263 const base::string16& no_text) { 263 const base::string16& no_text) {
264 return ShowMessageBoxImpl( 264 return ShowMessageBoxImpl(
265 parent, title, message, MESSAGE_BOX_TYPE_QUESTION, yes_text, no_text); 265 parent, title, message, MESSAGE_BOX_TYPE_QUESTION, yes_text, no_text);
266 } 266 }
267 267
268 } // namespace chrome 268 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/default_browser_prompt_win.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698