blob: cf3a6a2004ed052cc190cc855ac240b6ef1f48b1 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_LOGIN_UI_LOGIN_TOOLTIP_VIEW_H_
#define ASH_LOGIN_UI_LOGIN_TOOLTIP_VIEW_H_
#include "ash/login/ui/login_base_bubble_view.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/views/view.h"
namespace ash {
class LoginTooltipView : public LoginBaseBubbleView {
public:
LoginTooltipView(const base::string16& message, views::View* anchor_view);
~LoginTooltipView() override;
void SetText(const base::string16& message);
// LoginBaseBubbleView:
void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
// views::View:
gfx::Size CalculatePreferredSize() const override;
private:
DISALLOW_COPY_AND_ASSIGN(LoginTooltipView);
};
} // namespace ash
#endif // ASH_LOGIN_UI_LOGIN_TOOLTIP_VIEW_H_