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

Side by Side Diff: content/shell/shell_javascript_dialog_manager.cc

Issue 16408017: Use a direct include of utf_string_conversions.h in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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
« no previous file with comments | « content/shell/shell_javascript_dialog_gtk.cc ('k') | content/shell/shell_login_dialog.cc » ('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 "content/shell/shell_javascript_dialog_manager.h" 5 #include "content/shell/shell_javascript_dialog_manager.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "content/public/browser/web_contents.h" 10 #include "content/public/browser/web_contents.h"
11 #include "content/public/browser/web_contents_view.h" 11 #include "content/public/browser/web_contents_view.h"
12 #include "content/shell/common/shell_switches.h" 12 #include "content/shell/common/shell_switches.h"
13 #include "content/shell/shell_javascript_dialog.h" 13 #include "content/shell/shell_javascript_dialog.h"
14 #include "content/shell/webkit_test_controller.h" 14 #include "content/shell/webkit_test_controller.h"
15 #include "net/base/net_util.h" 15 #include "net/base/net_util.h"
16 16
17 namespace content { 17 namespace content {
18 18
19 ShellJavaScriptDialogManager::ShellJavaScriptDialogManager() { 19 ShellJavaScriptDialogManager::ShellJavaScriptDialogManager() {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 void ShellJavaScriptDialogManager::DialogClosed(ShellJavaScriptDialog* dialog) { 130 void ShellJavaScriptDialogManager::DialogClosed(ShellJavaScriptDialog* dialog) {
131 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(TOOLKIT_GTK) 131 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(TOOLKIT_GTK)
132 DCHECK_EQ(dialog, dialog_.get()); 132 DCHECK_EQ(dialog, dialog_.get());
133 dialog_.reset(); 133 dialog_.reset();
134 #else 134 #else
135 // TODO: implement ShellJavaScriptDialog for other platforms, drop this #if 135 // TODO: implement ShellJavaScriptDialog for other platforms, drop this #if
136 #endif 136 #endif
137 } 137 }
138 138
139 } // namespace content 139 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_javascript_dialog_gtk.cc ('k') | content/shell/shell_login_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698