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

Unified Diff: extensions/browser/extension_host.cc

Issue 198703006: Move ExtensionHost from src/chrome to src/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/extension_host.h ('k') | extensions/browser/lazy_background_task_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_host.cc
diff --git a/chrome/browser/extensions/extension_host.cc b/extensions/browser/extension_host.cc
similarity index 96%
rename from chrome/browser/extensions/extension_host.cc
rename to extensions/browser/extension_host.cc
index 0e2c08555c030978a078ef768ddb55b7c5a992a0..75fd0fe527eb3490709cad1122f21457fb494c15 100644
--- a/chrome/browser/extensions/extension_host.cc
+++ b/extensions/browser/extension_host.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/extensions/extension_host.h"
+#include "extensions/browser/extension_host.h"
#include <list>
@@ -15,7 +15,6 @@
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/chrome_notification_types.h"
-#include "chrome/browser/extensions/chrome_extension_web_contents_observer.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/native_web_keyboard_event.h"
@@ -40,7 +39,6 @@
#include "extensions/common/extension_urls.h"
#include "extensions/common/feature_switch.h"
#include "extensions/common/manifest_handlers/background_info.h"
-#include "third_party/WebKit/public/web/WebInputEvent.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/window_open_disposition.h"
@@ -429,13 +427,4 @@ void ExtensionHost::RequestMediaAccessPermission(
web_contents, request, callback, extension());
}
-bool ExtensionHost::PreHandleGestureEvent(
- content::WebContents* source,
- const blink::WebGestureEvent& event) {
- // Disable pinch zooming.
- return event.type == blink::WebGestureEvent::GesturePinchBegin ||
- event.type == blink::WebGestureEvent::GesturePinchUpdate ||
- event.type == blink::WebGestureEvent::GesturePinchEnd;
-}
-
} // namespace extensions
« no previous file with comments | « extensions/browser/extension_host.h ('k') | extensions/browser/lazy_background_task_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698