| 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 RUNTIME_BIN_EVENTHANDLER_H_ | 5 #ifndef RUNTIME_BIN_EVENTHANDLER_H_ |
| 6 #define RUNTIME_BIN_EVENTHANDLER_H_ | 6 #define RUNTIME_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 bool disable_tokens_; | 599 bool disable_tokens_; |
| 600 | 600 |
| 601 DISALLOW_COPY_AND_ASSIGN(DescriptorInfoMultipleMixin); | 601 DISALLOW_COPY_AND_ASSIGN(DescriptorInfoMultipleMixin); |
| 602 }; | 602 }; |
| 603 | 603 |
| 604 } // namespace bin | 604 } // namespace bin |
| 605 } // namespace dart | 605 } // namespace dart |
| 606 | 606 |
| 607 // The event handler delegation class is OS specific. | 607 // The event handler delegation class is OS specific. |
| 608 #if defined(TARGET_OS_ANDROID) | 608 #if defined(HOST_OS_ANDROID) |
| 609 #include "bin/eventhandler_android.h" | 609 #include "bin/eventhandler_android.h" |
| 610 #elif defined(TARGET_OS_FUCHSIA) | 610 #elif defined(HOST_OS_FUCHSIA) |
| 611 #include "bin/eventhandler_fuchsia.h" | 611 #include "bin/eventhandler_fuchsia.h" |
| 612 #elif defined(TARGET_OS_LINUX) | 612 #elif defined(HOST_OS_LINUX) |
| 613 #include "bin/eventhandler_linux.h" | 613 #include "bin/eventhandler_linux.h" |
| 614 #elif defined(TARGET_OS_MACOS) | 614 #elif defined(HOST_OS_MACOS) |
| 615 #include "bin/eventhandler_macos.h" | 615 #include "bin/eventhandler_macos.h" |
| 616 #elif defined(TARGET_OS_WINDOWS) | 616 #elif defined(HOST_OS_WINDOWS) |
| 617 #include "bin/eventhandler_win.h" | 617 #include "bin/eventhandler_win.h" |
| 618 #else | 618 #else |
| 619 #error Unknown target os. | 619 #error Unknown target os. |
| 620 #endif | 620 #endif |
| 621 | 621 |
| 622 namespace dart { | 622 namespace dart { |
| 623 namespace bin { | 623 namespace bin { |
| 624 | 624 |
| 625 class EventHandler { | 625 class EventHandler { |
| 626 public: | 626 public: |
| (...skipping 24 matching lines...) Expand all Loading... |
| 651 friend class EventHandlerImplementation; | 651 friend class EventHandlerImplementation; |
| 652 EventHandlerImplementation delegate_; | 652 EventHandlerImplementation delegate_; |
| 653 | 653 |
| 654 DISALLOW_COPY_AND_ASSIGN(EventHandler); | 654 DISALLOW_COPY_AND_ASSIGN(EventHandler); |
| 655 }; | 655 }; |
| 656 | 656 |
| 657 } // namespace bin | 657 } // namespace bin |
| 658 } // namespace dart | 658 } // namespace dart |
| 659 | 659 |
| 660 #endif // RUNTIME_BIN_EVENTHANDLER_H_ | 660 #endif // RUNTIME_BIN_EVENTHANDLER_H_ |
| OLD | NEW |