| 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 "athena/content/public/web_contents_view_delegate_creator.h" | 5 #include "athena/content/public/web_contents_view_delegate_creator.h" |
| 6 | 6 |
| 7 #include "athena/content/render_view_context_menu_impl.h" | 7 #include "athena/content/render_view_context_menu_impl.h" |
| 8 #include "components/web_modal/popup_manager.h" | 8 #include "components/web_modal/popup_manager.h" |
| 9 #include "components/web_modal/single_web_contents_dialog_manager.h" | 9 #include "components/web_modal/single_web_contents_dialog_manager.h" |
| 10 #include "components/web_modal/web_contents_modal_dialog_host.h" | 10 #include "components/web_modal/web_contents_modal_dialog_host.h" |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 } // namespace | 135 } // namespace |
| 136 | 136 |
| 137 content::WebContentsViewDelegate* CreateWebContentsViewDelegate( | 137 content::WebContentsViewDelegate* CreateWebContentsViewDelegate( |
| 138 content::WebContents* web_contents) { | 138 content::WebContents* web_contents) { |
| 139 return new WebContentsViewDelegateImpl(web_contents); | 139 return new WebContentsViewDelegateImpl(web_contents); |
| 140 } | 140 } |
| 141 | 141 |
| 142 } // namespace athena | 142 } // namespace athena |
| 143 | |
| 144 namespace web_modal { | |
| 145 | |
| 146 SingleWebContentsDialogManager* | |
| 147 WebContentsModalDialogManager::CreateNativeWebModalManager( | |
| 148 NativeWebContentsModalDialog dialog, | |
| 149 SingleWebContentsDialogManagerDelegate* native_delegate) { | |
| 150 // TODO(oshima): Investigate if we need to implement this. | |
| 151 NOTREACHED(); | |
| 152 return NULL; | |
| 153 } | |
| 154 | |
| 155 } // namespace web_modal | |
| OLD | NEW |