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

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

Issue 2169593003: Rename the chrome/browser/ui/app_modal directory to be javascript_dialogs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owner Created 4 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/app_modal/chrome_javascript_native_dialog_factory.h" 5 #include "chrome/browser/ui/javascript_dialogs/chrome_javascript_native_dialog_f actory.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "components/app_modal/javascript_dialog_manager.h" 10 #include "components/app_modal/javascript_dialog_manager.h"
11 #include "components/app_modal/javascript_native_dialog_factory.h" 11 #include "components/app_modal/javascript_native_dialog_factory.h"
12 #include "components/constrained_window/constrained_window_views.h" 12 #include "components/constrained_window/constrained_window_views.h"
13 #include "content/public/browser/web_contents.h" 13 #include "content/public/browser/web_contents.h"
14 #include "content/public/browser/web_contents_delegate.h" 14 #include "content/public/browser/web_contents_delegate.h"
15 15
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 DISALLOW_COPY_AND_ASSIGN(ChromeJavaScriptNativeDialogViewsFactory); 78 DISALLOW_COPY_AND_ASSIGN(ChromeJavaScriptNativeDialogViewsFactory);
79 }; 79 };
80 80
81 } // namespace 81 } // namespace
82 82
83 void InstallChromeJavaScriptNativeDialogFactory() { 83 void InstallChromeJavaScriptNativeDialogFactory() {
84 app_modal::JavaScriptDialogManager::GetInstance()->SetNativeDialogFactory( 84 app_modal::JavaScriptDialogManager::GetInstance()->SetNativeDialogFactory(
85 base::WrapUnique(new ChromeJavaScriptNativeDialogViewsFactory)); 85 base::WrapUnique(new ChromeJavaScriptNativeDialogViewsFactory));
86 } 86 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/javascript_dialogs/chrome_javascript_native_dialog_factory.h ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698