| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #if defined(OS_WIN) | |
| 11 #include <atlbase.h> | |
| 12 #include <atlapp.h> | |
| 13 #include <atlmisc.h> | |
| 14 #endif // defined(OS_WIN) | |
| 15 | |
| 16 #include <algorithm> | 10 #include <algorithm> |
| 17 #include <map> | 11 #include <map> |
| 18 #include <string> | 12 #include <string> |
| 19 #include <vector> | 13 #include <vector> |
| 20 | 14 |
| 21 #include "base/gfx/rect.h" | 15 #include "base/gfx/rect.h" |
| 22 #include "base/scoped_ptr.h" | 16 #include "base/scoped_ptr.h" |
| 23 #include "views/accelerator.h" | 17 #include "views/accelerator.h" |
| 24 #include "views/accessibility/accessibility_types.h" | 18 #include "views/accessibility/accessibility_types.h" |
| 25 #include "views/background.h" | 19 #include "views/background.h" |
| 26 #include "views/border.h" | 20 #include "views/border.h" |
| 27 | 21 |
| 22 #if defined(OS_WIN) |
| 23 struct IDataObject; |
| 24 #endif // defined(OS_WIN) |
| 25 |
| 28 namespace gfx { | 26 namespace gfx { |
| 29 class Insets; | 27 class Insets; |
| 30 class Path; | 28 class Path; |
| 31 } | 29 } |
| 32 | 30 |
| 33 class ChromeCanvas; | 31 class ChromeCanvas; |
| 34 class OSExchangeData; | 32 class OSExchangeData; |
| 35 class ViewAccessibilityWrapper; | 33 class ViewAccessibilityWrapper; |
| 36 class ThemeProvider; | 34 class ThemeProvider; |
| 37 | 35 |
| (...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1205 // is going to be flipped horizontally (using the appropriate transform) on | 1203 // is going to be flipped horizontally (using the appropriate transform) on |
| 1206 // right-to-left locales for this View. | 1204 // right-to-left locales for this View. |
| 1207 bool flip_canvas_on_paint_for_rtl_ui_; | 1205 bool flip_canvas_on_paint_for_rtl_ui_; |
| 1208 | 1206 |
| 1209 DISALLOW_COPY_AND_ASSIGN(View); | 1207 DISALLOW_COPY_AND_ASSIGN(View); |
| 1210 }; | 1208 }; |
| 1211 | 1209 |
| 1212 } // namespace views | 1210 } // namespace views |
| 1213 | 1211 |
| 1214 #endif // VIEWS_VIEW_H_ | 1212 #endif // VIEWS_VIEW_H_ |
| OLD | NEW |