Flutter Engine
 
Loading...
Searching...
No Matches
host_window_regular.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_HOST_WINDOW_REGULAR_H_
6#define FLUTTER_SHELL_PLATFORM_WINDOWS_HOST_WINDOW_REGULAR_H_
7
8#include "host_window.h"
9
10namespace flutter {
12 public:
13 // Creates a regular window.
14 HostWindowRegular(WindowManager* window_manager,
16 const WindowSizeRequest& preferred_size,
17 const BoxConstraints& constraints,
18 LPCWSTR title);
19
20 private:
21 static Rect GetInitialRect(FlutterWindowsEngine* engine,
22 const WindowSizeRequest& preferred_size,
23 const BoxConstraints& constraints);
24};
25} // namespace flutter
26
27#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_HOST_WINDOW_REGULAR_H_
FlutterEngine engine
Definition main.cc:84