)]}'
{
  "commit": "b32363ec0f8c063c616bd9147dd40d29a902b57f",
  "tree": "d399b60b91f08f2e9529f4a15e47e19c3df92799",
  "parents": [
    "1a13c7d1f40e32decdacc066a922fc95d6f554cb"
  ],
  "author": {
    "name": "Loïc Sharma",
    "email": "737941+loic-sharma@users.noreply.github.com",
    "time": "Fri Apr 12 14:45:30 2024 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Apr 12 21:45:30 2024 +0000"
  },
  "message": "[Windows] Refactor client wrapper to prepare for multi-view (#52073)\n\n_This is a refactoring with no semantic changes. No new public APIs are introduced by this change._\r\n\r\nIn the future, a new constructor will be added to `FlutterViewController` to allow it to use an existing `std::shared_ptr\u003cFlutterEngine\u003e` to create the view controller. This updates `FlutterViewController` to store a `std::shared_ptr` and other minor tweaks.\r\n\r\nFor context, we plan to not land the new multi-window `FlutterViewController` constructor until Window\u0027s multi-window support is productionized. Until then, we will maintain a [patch](https://github.com/flutter/flutter/issues/143767#issuecomment-2050741185) for folks that want to experiment with multi-window. This change makes that patch as small as possible.\r\n\r\nDesign doc: [flutter.dev/go/desktop-multi-view-runner-apis](https://flutter.dev/go/desktop-multi-view-runner-apis)\r\n\r\nPart of https://github.com/flutter/flutter/issues/143767\r\nPart of https://github.com/flutter/flutter/issues/142845\r\n\r\n[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "53d32f443f88f5831e94d9648486900dc5ff6e48",
      "old_mode": 33188,
      "old_path": "shell/platform/windows/client_wrapper/flutter_engine.cc",
      "new_id": "7860947aa068b811da1b4f168a195ba9ba30e7f8",
      "new_mode": 33188,
      "new_path": "shell/platform/windows/client_wrapper/flutter_engine.cc"
    },
    {
      "type": "modify",
      "old_id": "3f59964f2dc1be9c850fd207ae8d5644415e83bf",
      "old_mode": 33188,
      "old_path": "shell/platform/windows/client_wrapper/flutter_view_controller.cc",
      "new_id": "98c65e10c27bc1d088f4dd717856a1dda4b86293",
      "new_mode": 33188,
      "new_path": "shell/platform/windows/client_wrapper/flutter_view_controller.cc"
    },
    {
      "type": "modify",
      "old_id": "61bda1597ca8253e5264920cf6a83fc3309db5f9",
      "old_mode": 33188,
      "old_path": "shell/platform/windows/client_wrapper/include/flutter/flutter_engine.h",
      "new_id": "0369db35a14fc2d1a2ce71084462aad4cc4a3beb",
      "new_mode": 33188,
      "new_path": "shell/platform/windows/client_wrapper/include/flutter/flutter_engine.h"
    },
    {
      "type": "modify",
      "old_id": "4c658f479967a151ffe85dfec62ab8cebd1146c8",
      "old_mode": 33188,
      "old_path": "shell/platform/windows/client_wrapper/include/flutter/flutter_view_controller.h",
      "new_id": "4007534a5d73eb7231264229dc5be2be467c1ad3",
      "new_mode": 33188,
      "new_path": "shell/platform/windows/client_wrapper/include/flutter/flutter_view_controller.h"
    }
  ]
}
