| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_WIN_H_ | 5 #ifndef UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_WIN_H_ |
| 6 #define UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_WIN_H_ | 6 #define UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_WIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ui/views/controls/native_control_win.h" |
| 9 #include "ui/views/controls/scrollbar/native_scroll_bar_wrapper.h" | 10 #include "ui/views/controls/scrollbar/native_scroll_bar_wrapper.h" |
| 10 #include "views/controls/native_control_win.h" | |
| 11 | 11 |
| 12 namespace views { | 12 namespace views { |
| 13 | 13 |
| 14 class ScrollBarContainer; | 14 class ScrollBarContainer; |
| 15 | 15 |
| 16 ///////////////////////////////////////////////////////////////////////////// | 16 ///////////////////////////////////////////////////////////////////////////// |
| 17 // | 17 // |
| 18 // NativeScrollBarWin | 18 // NativeScrollBarWin |
| 19 // | 19 // |
| 20 // A View subclass that wraps a Native Windows scrollbar control. | 20 // A View subclass that wraps a Native Windows scrollbar control. |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // reinitialize the scrollbar to its previous state in case it gets hidden and | 58 // reinitialize the scrollbar to its previous state in case it gets hidden and |
| 59 // recreated. | 59 // recreated. |
| 60 SCROLLINFO scroll_info_; | 60 SCROLLINFO scroll_info_; |
| 61 | 61 |
| 62 DISALLOW_COPY_AND_ASSIGN(NativeScrollBarWin); | 62 DISALLOW_COPY_AND_ASSIGN(NativeScrollBarWin); |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace views | 65 } // namespace views |
| 66 | 66 |
| 67 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_WIN_H_ | 67 #endif // UI_VIEWS_CONTROLS_SCROLLBAR_NATIVE_SCROLL_BAR_WIN_H_ |
| OLD | NEW |