diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-09 21:11:38 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-09 21:11:38 +0000 |
commit | 80772ed5939efbb63732b61f6ae896252ace4f74 (patch) | |
tree | a8421684eab34f8bb55a21da8f6df3343ddc90b9 /chrome/browser/hang_monitor | |
parent | d4a94c2a3e6650c96e71b70a2aa1d992b963b248 (diff) | |
download | chromium_src-80772ed5939efbb63732b61f6ae896252ace4f74.zip chromium_src-80772ed5939efbb63732b61f6ae896252ace4f74.tar.gz chromium_src-80772ed5939efbb63732b61f6ae896252ace4f74.tar.bz2 |
browser: Abstract message box dialog functions into its own header file.
BUG=None
TEST=None
R=evan@chromium.org
Review URL: http://codereview.chromium.org/7601014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/hang_monitor')
-rw-r--r-- | chrome/browser/hang_monitor/hung_plugin_action.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/hang_monitor/hung_plugin_action.cc b/chrome/browser/hang_monitor/hung_plugin_action.cc index 5f32213..57951c9 100644 --- a/chrome/browser/hang_monitor/hung_plugin_action.cc +++ b/chrome/browser/hang_monitor/hung_plugin_action.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -6,7 +6,7 @@ #include "chrome/browser/hang_monitor/hung_plugin_action.h" -#include "chrome/browser/platform_util.h" +#include "chrome/browser/simple_message_box.h" #include "chrome/common/logging_chrome.h" #include "grit/generated_resources.h" #include "ui/base/l10n/l10n_util.h" @@ -62,7 +62,7 @@ bool HungPluginAction::OnHungWindowDetected(HWND hung_window, HungWindowResponseCallback, reinterpret_cast<ULONG_PTR>(this)); current_hung_plugin_window_ = hung_window; - if (platform_util::SimpleYesNoBox(NULL, title, msg)) { + if (browser::ShowYesNoBox(NULL, title, msg)) { *action = HungWindowNotification::HUNG_WINDOW_TERMINATE_PROCESS; } else { // If the user choses to ignore the hung window warning, the |