OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef BIN_EVENTHANDLER_H_ | 5 #ifndef BIN_EVENTHANDLER_H_ |
6 #define BIN_EVENTHANDLER_H_ | 6 #define BIN_EVENTHANDLER_H_ |
7 | 7 |
8 #include "bin/builtin.h" | 8 #include "bin/builtin.h" |
9 #include "bin/dartutils.h" | 9 #include "bin/dartutils.h" |
10 #include "bin/isolate_data.h" | 10 #include "bin/isolate_data.h" |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 | 598 |
599 DISALLOW_COPY_AND_ASSIGN(DescriptorInfoMultipleMixin); | 599 DISALLOW_COPY_AND_ASSIGN(DescriptorInfoMultipleMixin); |
600 }; | 600 }; |
601 | 601 |
602 } // namespace bin | 602 } // namespace bin |
603 } // namespace dart | 603 } // namespace dart |
604 | 604 |
605 // The event handler delegation class is OS specific. | 605 // The event handler delegation class is OS specific. |
606 #if defined(TARGET_OS_ANDROID) | 606 #if defined(TARGET_OS_ANDROID) |
607 #include "bin/eventhandler_android.h" | 607 #include "bin/eventhandler_android.h" |
| 608 #elif defined(TARGET_OS_FUCHSIA) |
| 609 #include "bin/eventhandler_fuchsia.h" |
608 #elif defined(TARGET_OS_LINUX) | 610 #elif defined(TARGET_OS_LINUX) |
609 #include "bin/eventhandler_linux.h" | 611 #include "bin/eventhandler_linux.h" |
610 #elif defined(TARGET_OS_MACOS) | 612 #elif defined(TARGET_OS_MACOS) |
611 #include "bin/eventhandler_macos.h" | 613 #include "bin/eventhandler_macos.h" |
612 #elif defined(TARGET_OS_WINDOWS) | 614 #elif defined(TARGET_OS_WINDOWS) |
613 #include "bin/eventhandler_win.h" | 615 #include "bin/eventhandler_win.h" |
614 #else | 616 #else |
615 #error Unknown target os. | 617 #error Unknown target os. |
616 #endif | 618 #endif |
617 | 619 |
(...skipping 29 matching lines...) Expand all Loading... |
647 friend class EventHandlerImplementation; | 649 friend class EventHandlerImplementation; |
648 EventHandlerImplementation delegate_; | 650 EventHandlerImplementation delegate_; |
649 | 651 |
650 DISALLOW_COPY_AND_ASSIGN(EventHandler); | 652 DISALLOW_COPY_AND_ASSIGN(EventHandler); |
651 }; | 653 }; |
652 | 654 |
653 } // namespace bin | 655 } // namespace bin |
654 } // namespace dart | 656 } // namespace dart |
655 | 657 |
656 #endif // BIN_EVENTHANDLER_H_ | 658 #endif // BIN_EVENTHANDLER_H_ |
OLD | NEW |