blob: b853a3ece5382db8b9967adfc4db60be84a23ec5 [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.
#include "base/strings/string16.h"
class GURL;
namespace weblayer {
class TabObserver {
// 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() {}
// Called when the title of this tab changes. Note before the page sets a
// title, the title may be a portion of the Uri.
virtual void OnTitleUpdated(const base::string16& title) {}
virtual ~TabObserver() {}
} // namespace weblayer