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

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

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/browser/shell_javascript_dialog_manager.h" 5 #include "content/shell/browser/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/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "build/build_config.h"
10 #include "components/url_formatter/url_formatter.h" 11 #include "components/url_formatter/url_formatter.h"
11 #include "content/public/browser/web_contents.h" 12 #include "content/public/browser/web_contents.h"
12 #include "content/shell/browser/blink_test_controller.h" 13 #include "content/shell/browser/blink_test_controller.h"
13 #include "content/shell/browser/shell_javascript_dialog.h" 14 #include "content/shell/browser/shell_javascript_dialog.h"
14 #include "content/shell/common/shell_switches.h" 15 #include "content/shell/common/shell_switches.h"
15 16
16 namespace content { 17 namespace content {
17 18
18 ShellJavaScriptDialogManager::ShellJavaScriptDialogManager() { 19 ShellJavaScriptDialogManager::ShellJavaScriptDialogManager() {
19 } 20 }
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 void ShellJavaScriptDialogManager::DialogClosed(ShellJavaScriptDialog* dialog) { 121 void ShellJavaScriptDialogManager::DialogClosed(ShellJavaScriptDialog* dialog) {
121 #if defined(OS_MACOSX) || defined(OS_WIN) 122 #if defined(OS_MACOSX) || defined(OS_WIN)
122 DCHECK_EQ(dialog, dialog_.get()); 123 DCHECK_EQ(dialog, dialog_.get());
123 dialog_.reset(); 124 dialog_.reset();
124 #else 125 #else
125 // TODO: implement ShellJavaScriptDialog for other platforms, drop this #if 126 // TODO: implement ShellJavaScriptDialog for other platforms, drop this #if
126 #endif 127 #endif
127 } 128 }
128 129
129 } // namespace content 130 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/browser/shell_javascript_dialog_manager.h ('k') | content/shell/browser/shell_login_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698