#include "chrome/browser/ui/views/extensions/extensions_toolbar_container_view_controller.h"
#include "chrome/browser/extensions/extension_tab_util.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/extensions/settings_api_bubble_helpers.h"
#include "chrome/browser/ui/views/extensions/extensions_request_access_button.h"
#include "chrome/browser/ui/views/extensions/extensions_toolbar_button.h"
#include "chrome/browser/ui/views/extensions/extensions_toolbar_container.h"
#include "extensions/common/extension_features.h"
ExtensionsToolbarContainerViewController::
ExtensionsToolbarContainerViewController(
Browser* browser,
ExtensionsToolbarContainer* extensions_container)
: … { … }
ExtensionsToolbarContainerViewController::
~ExtensionsToolbarContainerViewController() { … }
void ExtensionsToolbarContainerViewController::
WindowControlsOverlayEnabledChanged(bool enabled) { … }
void ExtensionsToolbarContainerViewController::MaybeShowIPH() { … }
void ExtensionsToolbarContainerViewController::UpdateRequestAccessButton() { … }
void ExtensionsToolbarContainerViewController::OnTabStripModelChanged(
TabStripModel* tab_strip_model,
const TabStripModelChange& change,
const TabStripSelectionChange& selection) { … }
void ExtensionsToolbarContainerViewController::TabChangedAt(
content::WebContents* contents,
int index,
TabChangeType change_type) { … }
void ExtensionsToolbarContainerViewController::OnToolbarActionAdded(
const ToolbarActionsModel::ActionId& action_id) { … }
void ExtensionsToolbarContainerViewController::OnToolbarActionRemoved(
const ToolbarActionsModel::ActionId& action_id) { … }
void ExtensionsToolbarContainerViewController::OnToolbarActionUpdated(
const ToolbarActionsModel::ActionId& action_id) { … }
void ExtensionsToolbarContainerViewController::OnToolbarModelInitialized() { … }
void ExtensionsToolbarContainerViewController::OnToolbarPinnedActionsChanged() { … }
void ExtensionsToolbarContainerViewController::OnUserPermissionsSettingsChanged(
const extensions::PermissionsManager::UserPermissionsSettings& settings) { … }
void ExtensionsToolbarContainerViewController::
OnShowAccessRequestsInToolbarChanged(
const extensions::ExtensionId& extension_id,
bool can_show_requests) { … }
void ExtensionsToolbarContainerViewController::
OnSiteAccessRequestDismissedByUser(
const extensions::ExtensionId& extension_id,
const url::Origin& origin) { … }
void ExtensionsToolbarContainerViewController::OnSiteAccessRequestAdded(
const extensions::ExtensionId& extension_id,
int tab_id) { … }
void ExtensionsToolbarContainerViewController::OnSiteAccessRequestUpdated(
const extensions::ExtensionId& extension_id,
int tab_id) { … }
void ExtensionsToolbarContainerViewController::OnSiteAccessRequestRemoved(
const extensions::ExtensionId& extension_id,
int tab_id) { … }
void ExtensionsToolbarContainerViewController::OnSiteAccessRequestsCleared(
int tab_id) { … }