| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 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_BUBBLE_BORDER_CONTENTS_H_ | |
| 6 #define CHROME_BROWSER_UI_VIEWS_BUBBLE_BORDER_CONTENTS_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "ui/views/bubble/border_contents_view.h" | |
| 10 | |
| 11 // This is used to paint the border of the Bubble. Windows uses this via | |
| 12 // BorderWidgetWin, while others can use it directly in the bubble. | |
| 13 class BorderContents : public views::BorderContentsView { | |
| 14 public: | |
| 15 BorderContents(); | |
| 16 | |
| 17 protected: | |
| 18 virtual ~BorderContents() { } | |
| 19 | |
| 20 // views::BorderContentsView overrides: | |
| 21 virtual gfx::Rect GetMonitorBounds(const gfx::Rect& rect) OVERRIDE; | |
| 22 | |
| 23 private: | |
| 24 DISALLOW_COPY_AND_ASSIGN(BorderContents); | |
| 25 }; | |
| 26 | |
| 27 #endif // CHROME_BROWSER_UI_VIEWS_BUBBLE_BORDER_CONTENTS_H_ | |
| OLD | NEW |