#include "chrome/browser/ui/views/web_apps/frame_toolbar/web_app_navigation_button_container.h"
#include <memory>
#include <utility>
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_command_controller.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/toolbar_button_provider.h"
#include "chrome/browser/ui/views/toolbar/back_forward_button.h"
#include "chrome/browser/ui/views/toolbar/reload_button.h"
#include "chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_utils.h"
#include "chrome/browser/ui/web_applications/app_browser_controller.h"
#include "ui/base/hit_test.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/window_open_disposition_utils.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/vector_icon_types.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/window/hit_test_utils.h"
namespace {
constexpr int kPaddingBetweenNavigationButtons = …;
#if BUILDFLAG(IS_CHROMEOS)
constexpr int kWebAppFrameLeftMargin = 2;
#else
constexpr int kWebAppFrameLeftMargin = …;
#endif
}
WebAppNavigationButtonContainer::WebAppNavigationButtonContainer(
BrowserView* browser_view,
ToolbarButtonProvider* toolbar_button_provider)
: … { … }
WebAppNavigationButtonContainer::~WebAppNavigationButtonContainer() { … }
BackForwardButton* WebAppNavigationButtonContainer::back_button() { … }
ReloadButton* WebAppNavigationButtonContainer::reload_button() { … }
void WebAppNavigationButtonContainer::EnabledStateChangedForCommand(
int id,
bool enabled) { … }
BEGIN_METADATA(…)