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

Side by Side Diff: chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.mm

Issue 735473002: Rename app_modal_dialogs dir to app_modal (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 6 years, 1 month 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 (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 "chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h" 5 #include "chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #import "base/mac/foundation_util.h" 11 #import "base/mac/foundation_util.h"
12 #include "base/strings/sys_string_conversions.h" 12 #include "base/strings/sys_string_conversions.h"
13 #import "chrome/browser/chrome_browser_application_mac.h" 13 #import "chrome/browser/chrome_browser_application_mac.h"
14 #include "chrome/browser/ui/app_modal_dialogs/chrome_javascript_native_dialog_fa ctory.h" 14 #include "chrome/browser/ui/app_modal/chrome_javascript_native_dialog_factory.h"
15 #include "components/app_modal_dialogs/javascript_app_modal_dialog.h" 15 #include "components/app_modal/javascript_app_modal_dialog.h"
16 #include "components/app_modal_dialogs/javascript_dialog_manager.h" 16 #include "components/app_modal/javascript_dialog_manager.h"
17 #include "components/app_modal_dialogs/javascript_native_dialog_factory.h" 17 #include "components/app_modal/javascript_native_dialog_factory.h"
18 #include "grit/components_strings.h" 18 #include "grit/components_strings.h"
19 #include "ui/base/l10n/l10n_util_mac.h" 19 #include "ui/base/l10n/l10n_util_mac.h"
20 #include "ui/base/ui_base_types.h" 20 #include "ui/base/ui_base_types.h"
21 #include "ui/gfx/text_elider.h" 21 #include "ui/gfx/text_elider.h"
22 #include "ui/strings/grit/ui_strings.h" 22 #include "ui/strings/grit/ui_strings.h"
23 23
24 namespace { 24 namespace {
25 25
26 const int kSlotsPerLine = 50; 26 const int kSlotsPerLine = 50;
27 const int kMessageTextMaxSlots = 2000; 27 const int kMessageTextMaxSlots = 2000;
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 454
455 DISALLOW_COPY_AND_ASSIGN(ChromeJavaScriptNativeDialogCocoaFactory); 455 DISALLOW_COPY_AND_ASSIGN(ChromeJavaScriptNativeDialogCocoaFactory);
456 }; 456 };
457 457
458 } // namespace 458 } // namespace
459 459
460 void InstallChromeJavaScriptNativeDialogFactory() { 460 void InstallChromeJavaScriptNativeDialogFactory() {
461 SetJavaScriptNativeDialogFactory( 461 SetJavaScriptNativeDialogFactory(
462 make_scoped_ptr(new ChromeJavaScriptNativeDialogCocoaFactory)); 462 make_scoped_ptr(new ChromeJavaScriptNativeDialogCocoaFactory));
463 } 463 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h ('k') | chrome/browser/ui/panels/panel_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698