OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 VIEWS_VIEW_H_ | 5 #ifndef VIEWS_VIEW_H_ |
6 #define VIEWS_VIEW_H_ | 6 #define VIEWS_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
11 #include <algorithm> | 11 #include <algorithm> |
12 #include <map> | 12 #include <map> |
13 #include <set> | 13 #include <set> |
14 #include <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/i18n/rtl.h" | 17 #include "base/i18n/rtl.h" |
18 #include "base/scoped_ptr.h" | 18 #include "base/scoped_ptr.h" |
19 #include "gfx/native_widget_types.h" | |
20 #include "gfx/rect.h" | |
21 #include "ui/base/dragdrop/os_exchange_data.h" | 19 #include "ui/base/dragdrop/os_exchange_data.h" |
| 20 #include "ui/gfx/native_widget_types.h" |
| 21 #include "ui/gfx/rect.h" |
22 #include "views/accelerator.h" | 22 #include "views/accelerator.h" |
23 #include "views/accessibility/accessibility_types.h" | 23 #include "views/accessibility/accessibility_types.h" |
24 #include "views/background.h" | 24 #include "views/background.h" |
25 #include "views/border.h" | 25 #include "views/border.h" |
26 | 26 |
27 using ui::OSExchangeData; | 27 using ui::OSExchangeData; |
28 | 28 |
29 class ViewAccessibility; | 29 class ViewAccessibility; |
30 | 30 |
31 namespace gfx { | 31 namespace gfx { |
(...skipping 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1349 // The default value for how long to wait (in ms) before showing a menu | 1349 // The default value for how long to wait (in ms) before showing a menu |
1350 // button on hover. This value is used if the OS doesn't supply one. | 1350 // button on hover. This value is used if the OS doesn't supply one. |
1351 static const int kShowFolderDropMenuDelay; | 1351 static const int kShowFolderDropMenuDelay; |
1352 | 1352 |
1353 DISALLOW_COPY_AND_ASSIGN(View); | 1353 DISALLOW_COPY_AND_ASSIGN(View); |
1354 }; | 1354 }; |
1355 | 1355 |
1356 } // namespace views | 1356 } // namespace views |
1357 | 1357 |
1358 #endif // VIEWS_VIEW_H_ | 1358 #endif // VIEWS_VIEW_H_ |
OLD | NEW |