<commit_before>// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "flutter/shell/platform/darwin/macos/framework/Headers/FLEView.h"

@implementation FLEView

#pragma mark -
#pragma mark FLEContextHandlingProtocol

- (void)makeCurrentContext {
  [self.openGLContext makeCurrentContext];
}

- (void)onPresent {
  [self.openGLContext flushBuffer];
}

#pragma mark -
#pragma mark Implementation

/**
 * Declares that the view uses a flipped coordinate system, consistent with Flutter conventions.
 */
- (BOOL)isFlipped {
  return YES;
}

- (BOOL)isOpaque {
  return YES;
}

- (void)reshape {
  [_reshapeListener viewDidReshape:self];
}

- (BOOL)acceptsFirstResponder {
  return YES;
}

@end<commit_msg>Add super call in FLEView reshape (#8335)<commit_after>// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "flutter/shell/platform/darwin/macos/framework/Headers/FLEView.h"

@implementation FLEView

#pragma mark -
#pragma mark FLEContextHandlingProtocol

- (void)makeCurrentContext {
  [self.openGLContext makeCurrentContext];
}

- (void)onPresent {
  [self.openGLContext flushBuffer];
}

#pragma mark -
#pragma mark Implementation

/**
 * Declares that the view uses a flipped coordinate system, consistent with Flutter conventions.
 */
- (BOOL)isFlipped {
  return YES;
}

- (BOOL)isOpaque {
  return YES;
}

- (void)reshape {
  [super reshape];
  [_reshapeListener viewDidReshape:self];
}

- (BOOL)acceptsFirstResponder {
  return YES;
}

@end
{'fraction_non_alphanumeric': 0.1043272080616479, 'fraction_numerical': 0.007113218731475993, 'mean_word_length': 4.29153605015674, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6739869', 'n_tokens_mistral': 571, 'n_tokens_neox': 540, 'n_words': 155}