#include "chrome/browser/ui/views/frame/browser_frame_view_linux_native.h"
#include "base/notreached.h"
#include "chrome/browser/ui/views/frame/browser_frame_view_layout_linux_native.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/linux/linux_ui.h"
#include "ui/views/controls/button/image_button.h"
#include "ui/views/window/frame_background.h"
namespace {
ui::NavButtonProvider::ButtonState ButtonStateToNavButtonProviderState(
views::Button::ButtonState state) { … }
}
bool BrowserFrameViewLinuxNative::DrawFrameButtonParams::operator==(
const DrawFrameButtonParams& other) const { … }
BrowserFrameViewLinuxNative::BrowserFrameViewLinuxNative(
BrowserFrame* frame,
BrowserView* browser_view,
BrowserFrameViewLayoutLinuxNative* layout,
std::unique_ptr<ui::NavButtonProvider> nav_button_provider)
: … { … }
BrowserFrameViewLinuxNative::~BrowserFrameViewLinuxNative() = default;
void BrowserFrameViewLinuxNative::Layout(PassKey) { … }
BrowserFrameViewLinuxNative::FrameButtonStyle
BrowserFrameViewLinuxNative::GetFrameButtonStyle() const { … }
int BrowserFrameViewLinuxNative::GetTranslucentTopAreaHeight() const { … }
float BrowserFrameViewLinuxNative::GetRestoredCornerRadiusDip() const { … }
void BrowserFrameViewLinuxNative::PaintRestoredFrameBorder(
gfx::Canvas* canvas) const { … }
void BrowserFrameViewLinuxNative::MaybeUpdateCachedFrameButtonImages() { … }
views::Button* BrowserFrameViewLinuxNative::GetButtonFromDisplayType(
ui::NavButtonProvider::FrameButtonDisplayType type) { … }
BEGIN_METADATA(…)