feat: replace BrowserView with WebContentsView (#35658)

This commit is contained in:
Jeremy Rose
2023-12-13 13:01:03 -08:00
committed by GitHub
parent a94fb2cb5d
commit 15c6014324
76 changed files with 2987 additions and 1531 deletions

View File

@@ -0,0 +1,17 @@
// Copyright (c) 2022 Salesforce, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/browser/animation_util.h"
#import <QuartzCore/QuartzCore.h>
// Disables actions within a scope.
ScopedCAActionDisabler::ScopedCAActionDisabler() {
[CATransaction begin];
[CATransaction setDisableActions:YES];
}
ScopedCAActionDisabler::~ScopedCAActionDisabler() {
[CATransaction commit];
}