forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.h
23 lines (18 loc) · 780 Bytes
/
page.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2021 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_PAGE_H_
#define WEBLAYER_PUBLIC_PAGE_H_
namespace weblayer {
// This objects tracks the lifetime of a loaded web page. Most of the time there
// is only one Page object per tab. However features like back-forward cache,
// prerendering etc... sometime involve the creation of additional Page object.
// Navigation::getPage() will return the Page for a given navigation. Similarly
// it'll the same Page object that's passed in
// NavigationObserver::OnPageDestroyed().
class Page {
protected:
virtual ~Page() = default;
};
} // namespace weblayer
#endif // WEBLAYER_PUBLIC_PAGE_H_