This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +16
-15
lines changed
common/client_wrapper/include/flutter Expand file tree Collapse file tree 6 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -330,7 +330,8 @@ class ChannelBuffers {
330330 'framework has had an opportunity to register a listener. See the ChannelBuffers '
331331 'API documentation for details on how to configure the channel to expect more '
332332 'messages, or to expect messages to get discarded:\n '
333- ' https://api.flutter.dev/flutter/dart-ui/ChannelBuffers-class.html'
333+ ' https://api.flutter.dev/flutter/dart-ui/ChannelBuffers-class.html\n '
334+ 'The capacity of the $name channel is ${channel ._capacity } message${channel ._capacity != 1 ? 's' : '' }.' ,
334335 );
335336 }
336337 }
Original file line number Diff line number Diff line change @@ -379,17 +379,17 @@ void PlatformConfigurationNativeApi::SetIsolateDebugName(
379379 UIDartState::Current ()->SetDebugName (name);
380380}
381381
382- Dart_PerformanceMode PlatformConfigurationNativeApi::current_performace_mode_ =
382+ Dart_PerformanceMode PlatformConfigurationNativeApi::current_performance_mode_ =
383383 Dart_PerformanceMode_Default;
384384
385385Dart_PerformanceMode PlatformConfigurationNativeApi::GetDartPerformanceMode () {
386- return current_performace_mode_ ;
386+ return current_performance_mode_ ;
387387}
388388
389389int PlatformConfigurationNativeApi::RequestDartPerformanceMode (int mode) {
390390 UIDartState::ThrowIfUIOperationsProhibited ();
391- current_performace_mode_ = static_cast <Dart_PerformanceMode>(mode);
392- return Dart_SetPerformanceMode (current_performace_mode_ );
391+ current_performance_mode_ = static_cast <Dart_PerformanceMode>(mode);
392+ return Dart_SetPerformanceMode (current_performance_mode_ );
393393}
394394
395395Dart_Handle PlatformConfigurationNativeApi::GetPersistentIsolateData () {
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class Scene;
3030// / @brief An enum for defining the different kinds of accessibility features
3131// / that can be enabled by the platform.
3232// /
33- // / Must match the `AccessibilityFeatureFlag` enum in framework.
33+ // / Must match the `AccessibilityFeatures` class in framework.
3434enum class AccessibilityFeatureFlag : int32_t {
3535 kAccessibleNavigation = 1 << 0 ,
3636 kInvertColors = 1 << 1 ,
@@ -538,7 +538,7 @@ class PlatformConfigurationNativeApi {
538538 static void RegisterBackgroundIsolate (int64_t root_isolate_token);
539539
540540 private:
541- static Dart_PerformanceMode current_performace_mode_ ;
541+ static Dart_PerformanceMode current_performance_mode_ ;
542542};
543543
544544} // namespace flutter
Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ class PluginRegistrar {
4949 // Takes ownership of |plugin|.
5050 //
5151 // Plugins are not required to call this method if they have other lifetime
52- // management, but this is a convient place for plugins to be owned to ensure
53- // that they stay valid for any registered callbacks.
52+ // management, but this is a convenient place for plugins to be owned to
53+ // ensure that they stay valid for any registered callbacks.
5454 void AddPlugin (std::unique_ptr<Plugin> plugin);
5555
5656 protected:
Original file line number Diff line number Diff line change @@ -28,15 +28,15 @@ NS_ASSUME_NONNULL_BEGIN
2828/* *
2929 * Called if this has been registered for `UIApplicationDelegate` callbacks.
3030 *
31- * @return `NO` if this vetoes application launch.
31+ * @return `NO` if this vetos application launch.
3232 */
3333- (BOOL )application : (UIApplication*)application
3434 didFinishLaunchingWithOptions : (NSDictionary *)launchOptions ;
3535
3636/* *
3737 * Called if this has been registered for `UIApplicationDelegate` callbacks.
3838 *
39- * @return `NO` if this vetoes application launch.
39+ * @return `NO` if this vetos application launch.
4040 */
4141- (BOOL )application : (UIApplication*)application
4242 willFinishLaunchingWithOptions : (NSDictionary *)launchOptions ;
Original file line number Diff line number Diff line change @@ -16,25 +16,25 @@ FLUTTER_DARWIN_EXPORT
1616@interface FlutterPluginAppLifeCycleDelegate : NSObject <UNUserNotificationCenterDelegate >
1717
1818/* *
19- * Registers `delegate` to receive life cycle callbacks via this FlutterPluginAppLifecycleDelegate
19+ * Registers `delegate` to receive life cycle callbacks via this FlutterPluginAppLifeCycleDelegate
2020 * as long as it is alive.
2121 *
22- * `delegate` will only referenced weakly.
22+ * `delegate` will only be referenced weakly.
2323 */
2424- (void )addDelegate : (NSObject <FlutterApplicationLifeCycleDelegate>*)delegate ;
2525
2626/* *
2727 * Calls all plugins registered for `UIApplicationDelegate` callbacks.
2828 *
29- * @return `NO` if any plugin vetoes application launch.
29+ * @return `NO` if any plugin vetos application launch.
3030 */
3131- (BOOL )application : (UIApplication*)application
3232 didFinishLaunchingWithOptions : (NSDictionary *)launchOptions ;
3333
3434/* *
3535 * Calls all plugins registered for `UIApplicationDelegate` callbacks.
3636 *
37- * @return `NO` if any plugin vetoes application launch.
37+ * @return `NO` if any plugin vetos application launch.
3838 */
3939- (BOOL )application : (UIApplication*)application
4040 willFinishLaunchingWithOptions : (NSDictionary *)launchOptions ;
You can’t perform that action at this time.
0 commit comments