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

Side by Side Diff: ui/views/bubble/bubble_frame_view.h

Issue 14200004: fix wrong class path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 UI_VIEWS_BUBBLE_BUBBLE_FRAME_VIEW_H_ 5 #ifndef UI_VIEWS_BUBBLE_BUBBLE_FRAME_VIEW_H_
6 #define UI_VIEWS_BUBBLE_BUBBLE_FRAME_VIEW_H_ 6 #define UI_VIEWS_BUBBLE_BUBBLE_FRAME_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
11 #include "ui/gfx/insets.h" 11 #include "ui/gfx/insets.h"
12 #include "ui/views/controls/button/button.h" 12 #include "ui/views/controls/button/button.h"
13 #include "ui/views/window/non_client_view.h" 13 #include "ui/views/window/non_client_view.h"
14 14
15 namespace views { 15 namespace views {
16 16
17 class Label; 17 class Label;
18 class LabelButton; 18 class LabelButton;
19 class BubbleBorder; 19 class BubbleBorder;
20 20
21 // The non-client frame view of bubble-styled widgets. 21 // The non-client frame view of bubble-styled widgets.
22 class VIEWS_EXPORT BubbleFrameView : public NonClientFrameView, 22 class VIEWS_EXPORT BubbleFrameView : public NonClientFrameView,
23 public ButtonListener { 23 public ButtonListener {
24 public: 24 public:
25 // Internal class name.
26 static const char kViewClassName[];
27
25 explicit BubbleFrameView(const gfx::Insets& content_margins); 28 explicit BubbleFrameView(const gfx::Insets& content_margins);
26 virtual ~BubbleFrameView(); 29 virtual ~BubbleFrameView();
27 30
28 // NonClientFrameView overrides: 31 // NonClientFrameView overrides:
29 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 32 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
30 virtual gfx::Rect GetWindowBoundsForClientBounds( 33 virtual gfx::Rect GetWindowBoundsForClientBounds(
31 const gfx::Rect& client_bounds) const OVERRIDE; 34 const gfx::Rect& client_bounds) const OVERRIDE;
32 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; 35 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
33 virtual void GetWindowMask(const gfx::Size& size, 36 virtual void GetWindowMask(const gfx::Size& size,
34 gfx::Path* window_mask) OVERRIDE; 37 gfx::Path* window_mask) OVERRIDE;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 102
100 // A flag controlling the ability to drag this frame. 103 // A flag controlling the ability to drag this frame.
101 bool can_drag_; 104 bool can_drag_;
102 105
103 DISALLOW_COPY_AND_ASSIGN(BubbleFrameView); 106 DISALLOW_COPY_AND_ASSIGN(BubbleFrameView);
104 }; 107 };
105 108
106 } // namespace views 109 } // namespace views
107 110
108 #endif // UI_VIEWS_BUBBLE_BUBBLE_FRAME_VIEW_H_ 111 #endif // UI_VIEWS_BUBBLE_BUBBLE_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/bubble/bubble_frame_view.cc » ('j') | ui/views/bubble/bubble_frame_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698