File tree 1 file changed +6
-0
lines changed
shell/platform/windows/client_wrapper/include/flutter
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ class PluginRegistrarWindows : public PluginRegistrar {
49
49
50
50
FlutterView* GetView () { return view_.get (); }
51
51
52
+ #ifndef WINUWP
52
53
// Registers |delegate| to receive WindowProc callbacks for the top-level
53
54
// window containing this Flutter instance. Returns an ID that can be used to
54
55
// unregister the handler.
@@ -80,8 +81,10 @@ class PluginRegistrarWindows : public PluginRegistrar {
80
81
registrar (), PluginRegistrarWindows::OnTopLevelWindowProc);
81
82
}
82
83
}
84
+ #endif
83
85
84
86
private:
87
+ #ifndef WINUWP
85
88
// A FlutterDesktopWindowProcCallback implementation that forwards back to
86
89
// a PluginRegistarWindows instance provided as |user_data|.
87
90
static bool OnTopLevelWindowProc (HWND hwnd,
@@ -113,14 +116,17 @@ class PluginRegistrarWindows : public PluginRegistrar {
113
116
}
114
117
return result;
115
118
}
119
+ #endif
116
120
117
121
// The associated FlutterView, if any.
118
122
std::unique_ptr<FlutterView> view_;
119
123
124
+ #ifndef WINUWP
120
125
// The next ID to return from RegisterWindowProcDelegate.
121
126
int next_window_proc_delegate_id_ = 1 ;
122
127
123
128
std::map<int , WindowProcDelegate> window_proc_delegates_;
129
+ #endif
124
130
};
125
131
126
132
} // namespace flutter
You can’t perform that action at this time.
0 commit comments