diff options
author | meacer@chromium.org <meacer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-03 08:02:35 +0000 |
---|---|---|
committer | meacer@chromium.org <meacer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-03 08:02:35 +0000 |
commit | 8cc3d1cce54c6f3909985761d4e8ce6cb85bd2b8 (patch) | |
tree | cf04f3242bacb9f7f92d5aa9bd6c6068ba2a1447 /chrome/browser/external_protocol/external_protocol_observer.h | |
parent | 3ce3bf289232be6e15991e6458d25087a4583236 (diff) | |
download | chromium_src-8cc3d1cce54c6f3909985761d4e8ce6cb85bd2b8.zip chromium_src-8cc3d1cce54c6f3909985761d4e8ce6cb85bd2b8.tar.gz chromium_src-8cc3d1cce54c6f3909985761d4e8ce6cb85bd2b8.tar.bz2 |
Relanding user gesture fix for external protocol handlers after revert.
The original CL that broke the build: https://codereview.chromium.org/131783012/
BUG=173557
TBR=pkasting@chromium.org,joi@chromium.org,kalman@chromium.org,jochen@chromium.org,mmenke@chromium.org,boliu@chromium.org
Review URL: https://codereview.chromium.org/214603010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261316 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_protocol/external_protocol_observer.h')
-rw-r--r-- | chrome/browser/external_protocol/external_protocol_observer.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/chrome/browser/external_protocol/external_protocol_observer.h b/chrome/browser/external_protocol/external_protocol_observer.h deleted file mode 100644 index 8249c3d..0000000 --- a/chrome/browser/external_protocol/external_protocol_observer.h +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2014 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. - -#ifndef CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_ -#define CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_ - -#include "content/public/browser/web_contents_observer.h" -#include "content/public/browser/web_contents_user_data.h" - -// ExternalProtocolObserver is responsible for handling messages from -// WebContents relating to external protocols. -class ExternalProtocolObserver - : public content::WebContentsObserver, - public content::WebContentsUserData<ExternalProtocolObserver> { - public: - virtual ~ExternalProtocolObserver(); - - // content::WebContentsObserver overrides. - virtual void DidGetUserGesture() OVERRIDE; - - private: - explicit ExternalProtocolObserver(content::WebContents* web_contents); - friend class content::WebContentsUserData<ExternalProtocolObserver>; - - DISALLOW_COPY_AND_ASSIGN(ExternalProtocolObserver); -}; - -#endif // CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_ |