chore: fix typos in 'shell/' folder. (#43373)

This commit is contained in:
Alexander Cyon 2024-08-23 02:48:32 +02:00 committed by GitHub
parent 1aeca6fd0e
commit ca0837c852
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 36 additions and 36 deletions

View file

@ -261,7 +261,7 @@ class ClearDataTask {
}
private:
// An individiual |content::BrowsingDataRemover::Remove...| operation as part
// An individual |content::BrowsingDataRemover::Remove...| operation as part
// of a full |ClearDataTask|. This class manages its own lifetime, cleaning
// itself up after the operation completes and notifies the task of the
// result.

View file

@ -519,7 +519,7 @@ api::scripting::RegisteredContentScript CreateRegisteredContentScriptInfo(
converted.reserve(sources.size());
for (auto& source : sources) {
CHECK(source.file)
<< "Content scripts don't allow arbtirary code strings";
<< "Content scripts don't allow arbitrary code strings";
converted.push_back(std::move(*source.file));
}
return converted;

View file

@ -448,7 +448,7 @@ class NativeWindow : public base::SupportsUserData,
// Minimum and maximum size.
std::optional<extensions::SizeConstraints> size_constraints_;
// Same as above but stored as content size, we are storing 2 types of size
// constraints beacause converting between them will cause rounding errors
// constraints because converting between them will cause rounding errors
// on HiDPI displays on some environments.
std::optional<extensions::SizeConstraints> content_size_constraints_;

View file

@ -569,7 +569,7 @@ bool NativeWindowViews::IsVisible() const {
// current window.
bool visible =
::GetWindowLong(GetAcceleratedWidget(), GWL_STYLE) & WS_VISIBLE;
// WS_VISIBLE is true even if a window is miminized - explicitly check that.
// WS_VISIBLE is true even if a window is minimized - explicitly check that.
return visible && !IsMinimized();
#else
return widget()->IsVisible();

View file

@ -9,7 +9,7 @@
namespace mojo {
template <typename T>
class PendingReciever;
class PendingReceiver;
template <typename T>
class PendingRemote;
} // namespace mojo

View file

@ -35,7 +35,7 @@
namespace mojo {
template <typename T>
class PendingReciever;
class PendingReceiver;
template <typename T>
class PendingRemote;
} // namespace mojo

View file

@ -27,7 +27,7 @@ class RenderFrameHost;
namespace mojo {
template <typename T>
class PendingReciever;
class PendingReceiver;
template <typename T>
class PendingRemote;
} // namespace mojo

View file

@ -24,7 +24,7 @@
namespace mojo {
template <typename T>
class PendingReciever;
class PendingReceiver;
template <typename T>
class PendingRemote;
} // namespace mojo