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

Unified Diff: chrome/browser/external_protocol/external_protocol_observer.cc

Issue 131783012: Fix the handling of user gestures for external protocol handler dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unnecessary DCHECK 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
Index: chrome/browser/external_protocol/external_protocol_observer.cc
diff --git a/chrome/browser/external_protocol/external_protocol_observer.cc b/chrome/browser/external_protocol/external_protocol_observer.cc
deleted file mode 100644
index 2d3f10d2836a2bd68f281110b34b7b8e635af041..0000000000000000000000000000000000000000
--- a/chrome/browser/external_protocol/external_protocol_observer.cc
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/external_protocol/external_protocol_observer.h"
-
-#include "chrome/browser/external_protocol/external_protocol_handler.h"
-
-using content::WebContents;
-
-DEFINE_WEB_CONTENTS_USER_DATA_KEY(ExternalProtocolObserver);
-
-ExternalProtocolObserver::ExternalProtocolObserver(WebContents* web_contents)
- : content::WebContentsObserver(web_contents) {
-}
-
-ExternalProtocolObserver::~ExternalProtocolObserver() {
-}
-
-void ExternalProtocolObserver::DidGetUserGesture() {
- ExternalProtocolHandler::PermitLaunchUrl();
-}
« no previous file with comments | « chrome/browser/external_protocol/external_protocol_observer.h ('k') | chrome/browser/prerender/prerender_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698