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

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

Issue 8687031: views: Move the remaining files to ui/views/controls/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/views/repost_form_warning_view.h" 5 #include "chrome/browser/ui/views/repost_form_warning_view.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/repost_form_warning_controller.h" 8 #include "chrome/browser/repost_form_warning_controller.h"
9 #include "chrome/browser/ui/browser_list.h" 9 #include "chrome/browser/ui/browser_list.h"
10 #include "chrome/browser/ui/browser_window.h" 10 #include "chrome/browser/ui/browser_window.h"
11 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 11 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
12 #include "chrome/browser/ui/views/constrained_window_views.h" 12 #include "chrome/browser/ui/views/constrained_window_views.h"
13 #include "content/browser/tab_contents/navigation_controller.h" 13 #include "content/browser/tab_contents/navigation_controller.h"
14 #include "content/browser/tab_contents/tab_contents.h" 14 #include "content/browser/tab_contents/tab_contents.h"
15 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
16 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
17 #include "ui/base/message_box_flags.h" 17 #include "ui/base/message_box_flags.h"
18 #include "views/controls/message_box_view.h" 18 #include "ui/views/controls/message_box_view.h"
19 19
20 namespace browser { 20 namespace browser {
21 21
22 // Declared in browser_dialogs.h so others don't have to depend on our header. 22 // Declared in browser_dialogs.h so others don't have to depend on our header.
23 void ShowRepostFormWarningDialog(gfx::NativeWindow parent_window, 23 void ShowRepostFormWarningDialog(gfx::NativeWindow parent_window,
24 TabContents* tab_contents) { 24 TabContents* tab_contents) {
25 new RepostFormWarningView(parent_window, tab_contents); 25 new RepostFormWarningView(parent_window, tab_contents);
26 } 26 }
27 27
28 } // namespace browser 28 } // namespace browser
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 controller_->Continue(); 84 controller_->Continue();
85 return true; 85 return true;
86 } 86 }
87 87
88 /////////////////////////////////////////////////////////////////////////////// 88 ///////////////////////////////////////////////////////////////////////////////
89 // RepostFormWarningView, RepostFormWarning implementation: 89 // RepostFormWarningView, RepostFormWarning implementation:
90 90
91 void RepostFormWarningView::DeleteDelegate() { 91 void RepostFormWarningView::DeleteDelegate() {
92 delete this; 92 delete this;
93 } 93 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/page_info_bubble_view.cc ('k') | chrome/browser/ui/views/restart_message_box.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698