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

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

Issue 2019423005: Move //components/ui/zoom to top-level under //components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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
« no previous file with comments | « extensions/browser/DEPS ('k') | extensions/browser/extension_zoom_request_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "extensions/browser/api/guest_view/web_view/web_view_internal_api.h" 5 #include "extensions/browser/api/guest_view/web_view/web_view_internal_api.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
(...skipping 15 matching lines...) Expand all
26 #include "extensions/common/user_script.h" 26 #include "extensions/common/user_script.h"
27 #include "third_party/WebKit/public/web/WebFindOptions.h" 27 #include "third_party/WebKit/public/web/WebFindOptions.h"
28 28
29 using content::WebContents; 29 using content::WebContents;
30 using extensions::ExtensionResource; 30 using extensions::ExtensionResource;
31 using extensions::api::web_view_internal::ContentScriptDetails; 31 using extensions::api::web_view_internal::ContentScriptDetails;
32 using extensions::api::web_view_internal::InjectionItems; 32 using extensions::api::web_view_internal::InjectionItems;
33 using extensions::api::web_view_internal::SetPermission::Params; 33 using extensions::api::web_view_internal::SetPermission::Params;
34 using extensions::api::extension_types::InjectDetails; 34 using extensions::api::extension_types::InjectDetails;
35 using extensions::UserScript; 35 using extensions::UserScript;
36 using ui_zoom::ZoomController; 36 using zoom::ZoomController;
37 // error messages for content scripts: 37 // error messages for content scripts:
38 namespace errors = extensions::manifest_errors; 38 namespace errors = extensions::manifest_errors;
39 namespace web_view_internal = extensions::api::web_view_internal; 39 namespace web_view_internal = extensions::api::web_view_internal;
40 40
41 namespace { 41 namespace {
42 42
43 const char kAppCacheKey[] = "appcache"; 43 const char kAppCacheKey[] = "appcache";
44 const char kCacheKey[] = "cache"; 44 const char kCacheKey[] = "cache";
45 const char kCookiesKey[] = "cookies"; 45 const char kCookiesKey[] = "cookies";
46 const char kFileSystemsKey[] = "fileSystems"; 46 const char kFileSystemsKey[] = "fileSystems";
(...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 // Will finish asynchronously. 962 // Will finish asynchronously.
963 return true; 963 return true;
964 } 964 }
965 965
966 void WebViewInternalClearDataFunction::ClearDataDone() { 966 void WebViewInternalClearDataFunction::ClearDataDone() {
967 Release(); // Balanced in RunAsync(). 967 Release(); // Balanced in RunAsync().
968 SendResponse(true); 968 SendResponse(true);
969 } 969 }
970 970
971 } // namespace extensions 971 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/DEPS ('k') | extensions/browser/extension_zoom_request_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698