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

Side by Side Diff: chrome/browser/extensions/api/web_view/web_view_internal_api.cc

Issue 505893002: Revert of Move core web_view code to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/extensions/api/web_view/web_view_internal_api.h" 5 #include "chrome/browser/extensions/api/web_view/web_view_internal_api.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/browser/extensions/api/browsing_data/browsing_data_api.h" 8 #include "chrome/browser/extensions/api/browsing_data/browsing_data_api.h"
9 #include "chrome/browser/extensions/api/context_menus/context_menus_api.h" 9 #include "chrome/browser/extensions/api/context_menus/context_menus_api.h"
10 #include "chrome/browser/extensions/api/context_menus/context_menus_api_helpers. h" 10 #include "chrome/browser/extensions/api/context_menus/context_menus_api_helpers. h"
11 #include "chrome/browser/extensions/tab_helper.h" 11 #include "chrome/browser/extensions/tab_helper.h"
12 #include "chrome/browser/guest_view/web_view/web_view_permission_helper.h"
12 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/common/extensions/api/web_view_internal.h" 14 #include "chrome/common/extensions/api/web_view_internal.h"
14 #include "content/public/browser/render_process_host.h" 15 #include "content/public/browser/render_process_host.h"
15 #include "content/public/browser/render_view_host.h" 16 #include "content/public/browser/render_view_host.h"
16 #include "content/public/browser/storage_partition.h" 17 #include "content/public/browser/storage_partition.h"
17 #include "content/public/browser/web_contents.h" 18 #include "content/public/browser/web_contents.h"
18 #include "content/public/common/stop_find_action.h" 19 #include "content/public/common/stop_find_action.h"
19 #include "extensions/browser/guest_view/web_view/web_view_permission_helper.h"
20 #include "extensions/common/error_utils.h" 20 #include "extensions/common/error_utils.h"
21 #include "third_party/WebKit/public/web/WebFindOptions.h" 21 #include "third_party/WebKit/public/web/WebFindOptions.h"
22 22
23 using content::WebContents; 23 using content::WebContents;
24 using extensions::api::tabs::InjectDetails; 24 using extensions::api::tabs::InjectDetails;
25 using extensions::api::web_view_internal::SetPermission::Params; 25 using extensions::api::web_view_internal::SetPermission::Params;
26 namespace helpers = extensions::context_menus_api_helpers; 26 namespace helpers = extensions::context_menus_api_helpers;
27 namespace webview = extensions::api::web_view_internal; 27 namespace webview = extensions::api::web_view_internal;
28 28
29 namespace extensions { 29 namespace extensions {
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 596
597 WebViewInternalTerminateFunction::~WebViewInternalTerminateFunction() { 597 WebViewInternalTerminateFunction::~WebViewInternalTerminateFunction() {
598 } 598 }
599 599
600 bool WebViewInternalTerminateFunction::RunAsyncSafe(WebViewGuest* guest) { 600 bool WebViewInternalTerminateFunction::RunAsyncSafe(WebViewGuest* guest) {
601 guest->Terminate(); 601 guest->Terminate();
602 return true; 602 return true;
603 } 603 }
604 604
605 } // namespace extensions 605 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/web_view/web_view_internal_api.h ('k') | chrome/browser/extensions/menu_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698