Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / ui / views / message_center / message_center_frame_view.h
blob56e90e77bf7a8d48eb93a496001c07a62da565a8
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_MESSAGE_CENTER_FRAME_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_MESSAGE_CENTER_FRAME_VIEW_H_
8 #include "ui/views/window/non_client_view.h"
10 namespace views {
11 class Label;
12 class LabelButton;
13 class BubbleBorder;
16 namespace message_center {
18 // The non-client frame view of the message center widget.
19 class MessageCenterFrameView : public views::NonClientFrameView {
20 public:
21 explicit MessageCenterFrameView();
22 ~MessageCenterFrameView() override;
24 // NonClientFrameView overrides:
25 gfx::Rect GetBoundsForClientView() const override;
26 gfx::Rect GetWindowBoundsForClientBounds(
27 const gfx::Rect& client_bounds) const override;
28 int NonClientHitTest(const gfx::Point& point) override;
29 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override;
30 void ResetWindowControls() override;
31 void UpdateWindowIcon() override;
32 void UpdateWindowTitle() override;
33 void SizeConstraintsChanged() override;
35 // View overrides:
36 gfx::Insets GetInsets() const override;
37 const char* GetClassName() const override;
39 private:
40 DISALLOW_COPY_AND_ASSIGN(MessageCenterFrameView);
43 } // namespace message_center
45 #endif // CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_MESSAGE_CENTER_FRAME_VIEW_H_