blob: d4c5be4b0c788991692697d787a0d92d28a3a2c2 [file] [log] [blame]
// 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 NavigatorContentUtilsClient_h
#define NavigatorContentUtilsClient_h
#include "modules/ModulesExport.h"
#include "platform/heap/Handle.h"
#include "platform/wtf/text/WTFString.h"
namespace blink {
class KURL;
class WebLocalFrameImpl;
class MODULES_EXPORT NavigatorContentUtilsClient
: public GarbageCollectedFinalized<NavigatorContentUtilsClient> {
static NavigatorContentUtilsClient* Create(WebLocalFrameImpl*);
virtual ~NavigatorContentUtilsClient() {}
virtual void RegisterProtocolHandler(const String& scheme,
const KURL&,
const String& title);
virtual void UnregisterProtocolHandler(const String& scheme, const KURL&);
virtual void Trace(blink::Visitor*);
explicit NavigatorContentUtilsClient(WebLocalFrameImpl*);
Member<WebLocalFrameImpl> web_frame_;
} // namespace blink
#endif // NavigatorContentUtilsClient_h