chore: fix spelling errors in multiple files (#34574)
* chore: fix spelling in .circleci Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in BUILD.gn Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in appveyor.yml Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in build Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in docs Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in lib Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in script Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in shell Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in spec Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * chore: fix spelling in spec-main Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
f418a49857
commit
ea4278754c
58 changed files with 88 additions and 88 deletions
|
@ -62,7 +62,7 @@ void CalculatePopupXAndWidthHorizontallyCentered(
|
|||
|
||||
// Calculate how much the pop-up needs to grow into the non-preferred
|
||||
// direction.
|
||||
int amount_to_grow_in_unpreffered_direction =
|
||||
int amount_to_grow_in_unpreferred_direction =
|
||||
std::max(0, popup_width - space_to_grow_in_preferred_direction);
|
||||
|
||||
bubble_bounds->set_width(popup_width);
|
||||
|
@ -70,10 +70,10 @@ void CalculatePopupXAndWidthHorizontallyCentered(
|
|||
// Note, in RTL the |pop_up_width| must be subtracted to achieve
|
||||
// right-alignment of the pop-up with the element.
|
||||
bubble_bounds->set_x(preferred_starting_point - popup_width +
|
||||
amount_to_grow_in_unpreffered_direction);
|
||||
amount_to_grow_in_unpreferred_direction);
|
||||
} else {
|
||||
bubble_bounds->set_x(preferred_starting_point -
|
||||
amount_to_grow_in_unpreffered_direction);
|
||||
amount_to_grow_in_unpreferred_direction);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
}
|
||||
|
||||
@dynamic styleMask;
|
||||
// The Nonactivating mask is reserverd for NSPanel,
|
||||
// The Nonactivating mask is reserved for NSPanel,
|
||||
// but we can use this workaround to add it at runtime
|
||||
- (NSWindowStyleMask)styleMask {
|
||||
return originalStyleMask | NSWindowStyleMaskNonactivatingPanel;
|
||||
|
|
|
@ -85,7 +85,7 @@ class InspectableWebContents
|
|||
void UpdateDevToolsZoomLevel(double level);
|
||||
|
||||
private:
|
||||
// DevToolsEmbedderMessageDispacher::Delegate
|
||||
// DevToolsEmbedderMessageDispatcher::Delegate
|
||||
void ActivateWindow() override;
|
||||
void CloseWindow() override;
|
||||
void LoadCompleted() override;
|
||||
|
|
|
@ -47,10 +47,10 @@ class ClientFrameViewLinux : public FramelessView,
|
|||
// views::WindowButtonOrderObserver:
|
||||
void OnWindowButtonOrderingChange() override;
|
||||
|
||||
// Overriden from FramelessView:
|
||||
// Overridden from FramelessView:
|
||||
int ResizingBorderHitTest(const gfx::Point& point) override;
|
||||
|
||||
// Overriden from views::NonClientFrameView:
|
||||
// Overridden from views::NonClientFrameView:
|
||||
gfx::Rect GetBoundsForClientView() const override;
|
||||
gfx::Rect GetWindowBoundsForClientBounds(
|
||||
const gfx::Rect& client_bounds) const override;
|
||||
|
|
|
@ -51,7 +51,7 @@ bool MonitorHasAutohideTaskbarForEdge(UINT edge, HMONITOR monitor) {
|
|||
// There is a potential race condition here:
|
||||
// 1. A maximized chrome window is fullscreened.
|
||||
// 2. It is switched back to maximized.
|
||||
// 3. In the process the window gets a WM_NCCACLSIZE message which calls us to
|
||||
// 3. In the process the window gets a WM_NCCALCSIZE message which calls us to
|
||||
// get the autohide state.
|
||||
// 4. The worker thread is invoked. It calls the API to get the autohide
|
||||
// state. On Windows versions earlier than Windows 7, taskbars could
|
||||
|
|
|
@ -76,7 +76,7 @@ bool ElectronDesktopWindowTreeHostWin::GetDwmFrameInsetsInPixels(
|
|||
bool ElectronDesktopWindowTreeHostWin::GetClientAreaInsets(
|
||||
gfx::Insets* insets,
|
||||
HMONITOR monitor) const {
|
||||
// Windows by deafult extends the maximized window slightly larger than
|
||||
// Windows by default extends the maximized window slightly larger than
|
||||
// current workspace, for frameless window since the standard frame has been
|
||||
// removed, the client area would then be drew outside current workspace.
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue