// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_VIEWS_PAGE_INFO_PAGE_INFO_HISTORY_CONTROLLER_H_ #define CHROME_BROWSER_UI_VIEWS_PAGE_INFO_PAGE_INFO_HISTORY_CONTROLLER_H_ #include <optional> #include "base/memory/weak_ptr.h" #include "ui/views/view_tracker.h" #include "url/gurl.h" namespace base { class Time; } namespace content { class WebContents; } namespace views { class View; } namespace page_info { class PageInfoHistoryDataSource; } // Controller for the history row located in `PageInfoMainView`. // It fetches last visited information from `PageInfoHistoryDataSource` and // creates a history button that opens a history webpage filtered to the site. class PageInfoHistoryController { … }; #endif // CHROME_BROWSER_UI_VIEWS_PAGE_INFO_PAGE_INFO_HISTORY_CONTROLLER_H_