#include "chrome/browser/ui/find_bar/find_bar_controller.h"
#include <algorithm>
#include "base/check_op.h"
#include "base/strings/string_util.h"
#include "build/build_config.h"
#include "chrome/browser/ui/find_bar/find_bar.h"
#include "chrome/browser/ui/find_bar/find_bar_platform_helper.h"
#include "components/find_in_page/find_tab_helper.h"
#include "components/find_in_page/find_types.h"
#include "content/public/browser/navigation_details.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/web_contents.h"
#include "ui/gfx/range/range.h"
NavigationController;
WebContents;
FindBarController::FindBarController(std::unique_ptr<FindBar> find_bar)
: … { … }
FindBarController::~FindBarController() { … }
void FindBarController::Show(bool find_next, bool forward_direction) { … }
void FindBarController::EndFindSession(
find_in_page::SelectionAction selection_action,
find_in_page::ResultAction result_action) { … }
void FindBarController::ChangeWebContents(WebContents* contents) { … }
void FindBarController::SetText(std::u16string text) { … }
void FindBarController::OnUserChangedFindText(std::u16string text) { … }
void FindBarController::NavigationEntryCommitted(
const content::LoadCommittedDetails& load_details) { … }
void FindBarController::OnFindEmptyText(content::WebContents* web_contents) { … }
void FindBarController::OnFindResultAvailable(
content::WebContents* web_contents) { … }
void FindBarController::UpdateFindBarForCurrentResult() { … }
void FindBarController::MaybeSetPrepopulateText() { … }
std::u16string FindBarController::GetSelectedText() { … }