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

Unified Diff: chrome/browser/ui/views/repost_form_warning_view.cc

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/repost_form_warning_view.cc
===================================================================
--- chrome/browser/ui/views/repost_form_warning_view.cc (revision 71854)
+++ chrome/browser/ui/views/repost_form_warning_view.cc (working copy)
@@ -5,7 +5,6 @@
#include "chrome/browser/ui/views/repost_form_warning_view.h"
#include "app/l10n_util.h"
-#include "app/message_box_flags.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/browser_list.h"
#include "chrome/browser/browser_window.h"
@@ -13,6 +12,7 @@
#include "chrome/browser/tab_contents/navigation_controller.h"
#include "chrome/browser/tab_contents/tab_contents.h"
#include "grit/generated_resources.h"
+#include "ui/base/message_box_flags.h"
#include "views/controls/message_box_view.h"
#include "views/window/window.h"
@@ -35,7 +35,7 @@
: controller_(new RepostFormWarningController(tab_contents)),
message_box_view_(NULL) {
message_box_view_ = new MessageBoxView(
- MessageBoxFlags::kIsConfirmMessageBox,
+ ui::MessageBoxFlags::kIsConfirmMessageBox,
UTF16ToWide(l10n_util::GetStringUTF16(IDS_HTTP_POST_WARNING)),
std::wstring());
controller_->Show(this);
@@ -52,10 +52,10 @@
}
std::wstring RepostFormWarningView::GetDialogButtonLabel(
- MessageBoxFlags::DialogButton button) const {
- if (button == MessageBoxFlags::DIALOGBUTTON_OK)
+ ui::MessageBoxFlags::DialogButton button) const {
+ if (button == ui::MessageBoxFlags::DIALOGBUTTON_OK)
return UTF16ToWide(l10n_util::GetStringUTF16(IDS_HTTP_POST_WARNING_RESEND));
- if (button == MessageBoxFlags::DIALOGBUTTON_CANCEL)
+ if (button == ui::MessageBoxFlags::DIALOGBUTTON_CANCEL)
return UTF16ToWide(l10n_util::GetStringUTF16(IDS_CANCEL));
return std::wstring();
}
« no previous file with comments | « chrome/browser/ui/views/options/passwords_page_view.h ('k') | chrome/browser/ui/views/restart_message_box.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698