OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_MESSAGE_CENTER_FRAME_VIEW_H_ | 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_ | 6 #define CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_MESSAGE_CENTER_FRAME_VIEW_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "ui/views/window/non_client_view.h" | 9 #include "ui/views/window/non_client_view.h" |
10 | 10 |
11 namespace views { | |
12 class Label; | |
13 class LabelButton; | |
14 class BubbleBorder; | |
15 } | |
16 | |
17 namespace message_center { | 11 namespace message_center { |
18 | 12 |
19 // The non-client frame view of the message center widget. | 13 // The non-client frame view of the message center widget. |
20 class MessageCenterFrameView : public views::NonClientFrameView { | 14 class MessageCenterFrameView : public views::NonClientFrameView { |
21 public: | 15 public: |
22 explicit MessageCenterFrameView(); | 16 explicit MessageCenterFrameView(); |
23 ~MessageCenterFrameView() override; | 17 ~MessageCenterFrameView() override; |
24 | 18 |
25 // NonClientFrameView overrides: | 19 // NonClientFrameView overrides: |
26 gfx::Rect GetBoundsForClientView() const override; | 20 gfx::Rect GetBoundsForClientView() const override; |
(...skipping 10 matching lines...) Expand all Loading... |
37 gfx::Insets GetInsets() const override; | 31 gfx::Insets GetInsets() const override; |
38 const char* GetClassName() const override; | 32 const char* GetClassName() const override; |
39 | 33 |
40 private: | 34 private: |
41 DISALLOW_COPY_AND_ASSIGN(MessageCenterFrameView); | 35 DISALLOW_COPY_AND_ASSIGN(MessageCenterFrameView); |
42 }; | 36 }; |
43 | 37 |
44 } // namespace message_center | 38 } // namespace message_center |
45 | 39 |
46 #endif // CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_MESSAGE_CENTER_FRAME_VIEW_H_ | 40 #endif // CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_MESSAGE_CENTER_FRAME_VIEW_H_ |
OLD | NEW |