| 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_SINGLE_SPLIT_VIEW_H_ | 5 #ifndef UI_VIEWS_CONTROLS_SINGLE_SPLIT_VIEW_H_ |
| 6 #define UI_VIEWS_CONTROLS_SINGLE_SPLIT_VIEW_H_ | 6 #define UI_VIEWS_CONTROLS_SINGLE_SPLIT_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
| 9 #include "base/macros.h" |
| 9 #include "ui/views/view.h" | 10 #include "ui/views/view.h" |
| 10 | 11 |
| 11 namespace views { | 12 namespace views { |
| 12 | 13 |
| 13 class SingleSplitViewListener; | 14 class SingleSplitViewListener; |
| 14 | 15 |
| 15 // SingleSplitView lays out two views next to each other, either horizontally | 16 // SingleSplitView lays out two views next to each other, either horizontally |
| 16 // or vertically. A splitter exists between the two views that the user can | 17 // or vertically. A splitter exists between the two views that the user can |
| 17 // drag around to resize the views. | 18 // drag around to resize the views. |
| 18 // SingleSplitViewListener's SplitHandleMoved notification helps to monitor user | 19 // SingleSplitViewListener's SplitHandleMoved notification helps to monitor user |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 139 |
| 139 // The accessible name of this view. | 140 // The accessible name of this view. |
| 140 base::string16 accessible_name_; | 141 base::string16 accessible_name_; |
| 141 | 142 |
| 142 DISALLOW_COPY_AND_ASSIGN(SingleSplitView); | 143 DISALLOW_COPY_AND_ASSIGN(SingleSplitView); |
| 143 }; | 144 }; |
| 144 | 145 |
| 145 } // namespace views | 146 } // namespace views |
| 146 | 147 |
| 147 #endif // UI_VIEWS_CONTROLS_SINGLE_SPLIT_VIEW_H_ | 148 #endif // UI_VIEWS_CONTROLS_SINGLE_SPLIT_VIEW_H_ |
| OLD | NEW |