blob: ca3a9e1f9cf3d28d23bd5cead057fabaf48f1931 [file] [log] [blame]
// Copyright 2019 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 WEBLAYER_PUBLIC_TAB_OBSERVER_H_
#define WEBLAYER_PUBLIC_TAB_OBSERVER_H_
class GURL;
namespace weblayer {
class TabObserver {
public:
// The URL bar should be updated to |url|.
virtual void DisplayedUrlChanged(const GURL& url) {}
// Triggered when the render process dies, either due to crash or killed by
// the system to reclaim memory.
virtual void OnRenderProcessGone() {}
protected:
virtual ~TabObserver() {}
};
} // namespace weblayer
#endif // WEBLAYER_PUBLIC_TAB_OBSERVER_H_