OLD | NEW |
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 "extensions/components/javascript_dialog_extensions_client/javascript_d
ialog_extension_client_impl.h" | 5 #include "extensions/components/javascript_dialog_extensions_client/javascript_d
ialog_extension_client_impl.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.h" | 8 #include "components/app_modal/javascript_dialog_manager.h" |
9 #include "content/public/browser/web_contents.h" | 9 #include "content/public/browser/web_contents.h" |
10 #include "extensions/browser/process_manager.h" | 10 #include "extensions/browser/process_manager.h" |
11 #include "extensions/common/extension.h" | 11 #include "extensions/common/extension.h" |
12 #include "ui/gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
13 | 13 |
14 namespace { | 14 namespace { |
15 | 15 |
16 using extensions::Extension; | 16 using extensions::Extension; |
17 | 17 |
18 // Returns the ProcessManager for the browser context from |web_contents|. | 18 // Returns the ProcessManager for the browser context from |web_contents|. |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 private: | 71 private: |
72 DISALLOW_COPY_AND_ASSIGN(JavaScriptDialogExtensionsClientImpl); | 72 DISALLOW_COPY_AND_ASSIGN(JavaScriptDialogExtensionsClientImpl); |
73 }; | 73 }; |
74 | 74 |
75 } // namespace | 75 } // namespace |
76 | 76 |
77 void InstallJavaScriptDialogExtensionsClient() { | 77 void InstallJavaScriptDialogExtensionsClient() { |
78 SetJavaScriptDialogExtensionsClient( | 78 SetJavaScriptDialogExtensionsClient( |
79 make_scoped_ptr(new JavaScriptDialogExtensionsClientImpl)); | 79 make_scoped_ptr(new JavaScriptDialogExtensionsClientImpl)); |
80 } | 80 } |
OLD | NEW |