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 "app/os_exchange_data.h" | |
18 #include "base/i18n/rtl.h" | 17 #include "base/i18n/rtl.h" |
19 #include "base/scoped_ptr.h" | 18 #include "base/scoped_ptr.h" |
20 #include "gfx/native_widget_types.h" | 19 #include "gfx/native_widget_types.h" |
21 #include "gfx/rect.h" | 20 #include "gfx/rect.h" |
| 21 #include "ui/base/dragdrop/os_exchange_data.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; |
| 28 |
27 namespace gfx { | 29 namespace gfx { |
28 class Canvas; | 30 class Canvas; |
29 class Insets; | 31 class Insets; |
30 class Path; | 32 class Path; |
31 } | 33 } |
32 | 34 |
33 class ThemeProvider; | 35 class ThemeProvider; |
34 class ViewAccessibility; | 36 class ViewAccessibility; |
35 | 37 |
36 namespace views { | 38 namespace views { |
(...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1327 // The default value for how long to wait (in ms) before showing a menu | 1329 // The default value for how long to wait (in ms) before showing a menu |
1328 // button on hover. This value is used if the OS doesn't supply one. | 1330 // button on hover. This value is used if the OS doesn't supply one. |
1329 static const int kShowFolderDropMenuDelay; | 1331 static const int kShowFolderDropMenuDelay; |
1330 | 1332 |
1331 DISALLOW_COPY_AND_ASSIGN(View); | 1333 DISALLOW_COPY_AND_ASSIGN(View); |
1332 }; | 1334 }; |
1333 | 1335 |
1334 } // namespace views | 1336 } // namespace views |
1335 | 1337 |
1336 #endif // VIEWS_VIEW_H_ | 1338 #endif // VIEWS_VIEW_H_ |
OLD | NEW |