// 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. #ifndef CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_ #define CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_ #include "content/browser/tab_contents/tab_contents_observer.h" class TabContents; // ExternalProtocolObserver is responsible for handling messages from // TabContents relating to external protocols. class ExternalProtocolObserver : public TabContentsObserver { public: explicit ExternalProtocolObserver(TabContents* tab_contents); virtual ~ExternalProtocolObserver(); // TabContentsObserver overrides. virtual void DidGetUserGesture() OVERRIDE; private: DISALLOW_COPY_AND_ASSIGN(ExternalProtocolObserver); }; #endif // CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_