| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 #ifndef ASH_FRAME_FRAME_BORDER_HITTEST_CONTROLLER_H_ | |
| 6 #define ASH_FRAME_FRAME_BORDER_HITTEST_CONTROLLER_H_ | |
| 7 | |
| 8 #include "ash/ash_export.h" | |
| 9 #include "base/macros.h" | |
| 10 | |
| 11 namespace aura { | |
| 12 class Window; | |
| 13 } | |
| 14 | |
| 15 namespace views { | |
| 16 class Widget; | |
| 17 } | |
| 18 | |
| 19 namespace ash { | |
| 20 | |
| 21 // Class which manages the hittest override bounds for |frame|. | |
| 22 // TODO(sky): remove this class entirely. It isn't really needed. | |
| 23 class ASH_EXPORT FrameBorderHitTestController { | |
| 24 public: | |
| 25 explicit FrameBorderHitTestController(views::Widget* frame); | |
| 26 virtual ~FrameBorderHitTestController(); | |
| 27 | |
| 28 private: | |
| 29 // The window whose hittest override bounds are being managed. | |
| 30 aura::Window* frame_window_; | |
| 31 | |
| 32 DISALLOW_COPY_AND_ASSIGN(FrameBorderHitTestController); | |
| 33 }; | |
| 34 | |
| 35 } // namespace ash | |
| 36 | |
| 37 #endif // ASH_FRAME_FRAME_BORDER_HITTEST_CONTROLLER_H_ | |
| OLD | NEW |