| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/extensions/api/developer_private/inspectable_views_find
er.h" | 5 #include "chrome/browser/extensions/api/developer_private/inspectable_views_find
er.h" |
| 6 | 6 |
| 7 #include "chrome/browser/extensions/extension_util.h" | |
| 8 #include "chrome/browser/profiles/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
| 9 #include "chrome/common/extensions/api/developer_private.h" | 8 #include "chrome/common/extensions/api/developer_private.h" |
| 10 #include "content/public/browser/render_frame_host.h" | 9 #include "content/public/browser/render_frame_host.h" |
| 11 #include "content/public/browser/render_process_host.h" | 10 #include "content/public/browser/render_process_host.h" |
| 12 #include "content/public/browser/web_contents.h" | 11 #include "content/public/browser/web_contents.h" |
| 13 #include "extensions/browser/app_window/app_window.h" | 12 #include "extensions/browser/app_window/app_window.h" |
| 14 #include "extensions/browser/app_window/app_window_registry.h" | 13 #include "extensions/browser/app_window/app_window_registry.h" |
| 15 #include "extensions/browser/extension_host.h" | 14 #include "extensions/browser/extension_host.h" |
| 15 #include "extensions/browser/extension_util.h" |
| 16 #include "extensions/browser/process_manager.h" | 16 #include "extensions/browser/process_manager.h" |
| 17 #include "extensions/browser/view_type_utils.h" | 17 #include "extensions/browser/view_type_utils.h" |
| 18 #include "extensions/common/constants.h" | 18 #include "extensions/common/constants.h" |
| 19 #include "extensions/common/extension.h" | 19 #include "extensions/common/extension.h" |
| 20 #include "extensions/common/manifest_handlers/background_info.h" | 20 #include "extensions/common/manifest_handlers/background_info.h" |
| 21 #include "extensions/common/manifest_handlers/incognito_info.h" | 21 #include "extensions/common/manifest_handlers/incognito_info.h" |
| 22 #include "url/gurl.h" | 22 #include "url/gurl.h" |
| 23 | 23 |
| 24 namespace extensions { | 24 namespace extensions { |
| 25 | 25 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 url = window->initial_url(); | 194 url = window->initial_url(); |
| 195 | 195 |
| 196 content::RenderProcessHost* process = web_contents->GetRenderProcessHost(); | 196 content::RenderProcessHost* process = web_contents->GetRenderProcessHost(); |
| 197 result->push_back(ConstructView( | 197 result->push_back(ConstructView( |
| 198 url, process->GetID(), web_contents->GetMainFrame()->GetRoutingID(), | 198 url, process->GetID(), web_contents->GetMainFrame()->GetRoutingID(), |
| 199 false, false, GetViewType(web_contents))); | 199 false, false, GetViewType(web_contents))); |
| 200 } | 200 } |
| 201 } | 201 } |
| 202 | 202 |
| 203 } // namespace extensions | 203 } // namespace extensions |
| OLD | NEW |