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

Side by Side Diff: components/app_modal/javascript_dialog_manager.cc

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 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 "components/app_modal_dialogs/javascript_dialog_manager.h" 5 #include "components/app_modal/javascript_dialog_manager.h"
6 6
7 #include "components/app_modal_dialogs/javascript_dialog_extensions_client.h" 7 #include "components/app_modal/javascript_dialog_extensions_client.h"
8 #include "components/app_modal_dialogs/javascript_dialog_manager_impl.h" 8 #include "components/app_modal/javascript_dialog_manager_impl.h"
9 #include "components/app_modal_dialogs/javascript_native_dialog_factory.h" 9 #include "components/app_modal/javascript_native_dialog_factory.h"
10 10
11 content::JavaScriptDialogManager* GetJavaScriptDialogManagerInstance() { 11 content::JavaScriptDialogManager* GetJavaScriptDialogManagerInstance() {
12 return JavaScriptDialogManagerImpl::GetInstance(); 12 return JavaScriptDialogManagerImpl::GetInstance();
13 } 13 }
14 14
15 void SetJavaScriptNativeDialogFactory( 15 void SetJavaScriptNativeDialogFactory(
16 scoped_ptr<JavaScriptNativeDialogFactory> new_factory) { 16 scoped_ptr<JavaScriptNativeDialogFactory> new_factory) {
17 JavaScriptDialogManagerImpl::GetInstance()->SetNativeDialogFactory( 17 JavaScriptDialogManagerImpl::GetInstance()->SetNativeDialogFactory(
18 new_factory.Pass()); 18 new_factory.Pass());
19 } 19 }
20 20
21 void SetJavaScriptDialogExtensionsClient( 21 void SetJavaScriptDialogExtensionsClient(
22 scoped_ptr<JavaScriptDialogExtensionsClient> new_client) { 22 scoped_ptr<JavaScriptDialogExtensionsClient> new_client) {
23 JavaScriptDialogManagerImpl::GetInstance()->SetExtensionsClient( 23 JavaScriptDialogManagerImpl::GetInstance()->SetExtensionsClient(
24 new_client.Pass()); 24 new_client.Pass());
25 } 25 }
OLDNEW
« no previous file with comments | « components/app_modal/javascript_dialog_manager.h ('k') | components/app_modal/javascript_dialog_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698