#include "chrome/browser/ui/views/status_icons/status_icon_button_linux.h"
#include <limits>
#include "base/check.h"
#include "chrome/browser/shell_integration_linux.h"
#include "ui/aura/window.h"
#include "ui/aura/window_tree_host.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/wm_role_names_linux.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/transform.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/scoped_canvas.h"
namespace {
const int16_t kInitialWindowPos = …;
class StatusIconWidget : public views::Widget { … };
}
StatusIconButtonLinux::StatusIconButtonLinux()
: … { … }
StatusIconButtonLinux::~StatusIconButtonLinux() = default;
void StatusIconButtonLinux::SetIcon(const gfx::ImageSkia& image) { … }
void StatusIconButtonLinux::SetToolTip(const std::u16string& tool_tip) { … }
void StatusIconButtonLinux::UpdatePlatformContextMenu(ui::MenuModel* model) { … }
void StatusIconButtonLinux::OnSetDelegate() { … }
void StatusIconButtonLinux::ShowContextMenuForViewImpl(
View* source,
const gfx::Point& point,
ui::MenuSourceType source_type) { … }
void StatusIconButtonLinux::PaintButtonContents(gfx::Canvas* canvas) { … }
BEGIN_METADATA(…)