chore: fix typos in 'shell/' folder. (#43373)
This commit is contained in:
parent
1aeca6fd0e
commit
ca0837c852
12 changed files with 36 additions and 36 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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_;
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
namespace mojo {
|
||||
template <typename T>
|
||||
class PendingReciever;
|
||||
class PendingReceiver;
|
||||
template <typename T>
|
||||
class PendingRemote;
|
||||
} // namespace mojo
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
namespace mojo {
|
||||
template <typename T>
|
||||
class PendingReciever;
|
||||
class PendingReceiver;
|
||||
template <typename T>
|
||||
class PendingRemote;
|
||||
} // namespace mojo
|
||||
|
|
|
@ -27,7 +27,7 @@ class RenderFrameHost;
|
|||
|
||||
namespace mojo {
|
||||
template <typename T>
|
||||
class PendingReciever;
|
||||
class PendingReceiver;
|
||||
template <typename T>
|
||||
class PendingRemote;
|
||||
} // namespace mojo
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
namespace mojo {
|
||||
template <typename T>
|
||||
class PendingReciever;
|
||||
class PendingReceiver;
|
||||
template <typename T>
|
||||
class PendingRemote;
|
||||
} // namespace mojo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue