Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: chrome/browser/ui/views/message_center/message_center_frame_view.h

Issue 18003003: Message center re-organized (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Border caching added Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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.
4
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_
7
8 #include "ui/views/window/non_client_view.h"
9
10 namespace views {
11 class Label;
12 class LabelButton;
13 class BubbleBorder;
14 }
15
16 namespace message_center {
17
18 // The non-client frame view of the message center widget.
19 class MessageCenterFrameView : public views::NonClientFrameView {
20 public:
21 explicit MessageCenterFrameView();
22 virtual ~MessageCenterFrameView();
23
24 // NonClientFrameView overrides:
25 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
26 virtual gfx::Rect GetWindowBoundsForClientBounds(
27 const gfx::Rect& client_bounds) const OVERRIDE;
28 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
29 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask)
30 OVERRIDE {}
dewittj 2013/07/15 18:38:58 I believe that we prefer to put the definitions of
sidharthms 2013/07/15 23:16:37 Done.
31 virtual void ResetWindowControls() OVERRIDE {}
32 virtual void UpdateWindowIcon() OVERRIDE {}
33 virtual void UpdateWindowTitle() OVERRIDE {}
34
35 // View overrides:
36 virtual gfx::Insets GetInsets() const OVERRIDE;
37 virtual const char* GetClassName() const OVERRIDE;
38
39 static gfx::Insets GetBorderInsets();
dewittj 2013/07/15 18:38:58 Comment here please. Why is this static? Can thi
sidharthms 2013/07/15 23:16:37 Done. Actually removed. On 2013/07/15 18:38:58, d
40
41 private:
42 DISALLOW_COPY_AND_ASSIGN(MessageCenterFrameView);
43 };
44
45 } // namespace message_center
46
47 #endif // CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_MESSAGE_CENTER_FRAME_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698