Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: services/ui/ws/window_manager_state.cc

Issue 2877233002: Remove the i from visib[i]le. (Closed)
Patch Set: merge with tot Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/ws/window_manager_display_root.cc ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_manager_state.cc
diff --git a/services/ui/ws/window_manager_state.cc b/services/ui/ws/window_manager_state.cc
index 5810ac596f274b7791d9a0d0f4d79f8f8aeb8186..6657f1500c52b9d070a88b1ef07e96d2023a9ba1 100644
--- a/services/ui/ws/window_manager_state.cc
+++ b/services/ui/ws/window_manager_state.cc
@@ -381,7 +381,7 @@ ServerWindow* WindowManagerState::GetWindowManagerRootForDisplayRoot(
ServerWindow* window) {
for (auto& display_root_ptr : window_manager_display_roots_) {
if (display_root_ptr->root()->parent() == window)
- return display_root_ptr->GetClientVisibileRoot();
+ return display_root_ptr->GetClientVisibleRoot();
}
NOTREACHED();
return nullptr;
@@ -574,10 +574,10 @@ ServerWindow* WindowManagerState::GetFocusedWindowForEventDispatcher() {
// When none of the windows have focus return the window manager's root.
for (auto& display_root_ptr : window_manager_display_roots_) {
if (display_root_ptr->display()->GetId() == event_processing_display_id_)
- return display_root_ptr->GetClientVisibileRoot();
+ return display_root_ptr->GetClientVisibleRoot();
}
if (!window_manager_display_roots_.empty())
- return (*window_manager_display_roots_.begin())->GetClientVisibileRoot();
+ return (*window_manager_display_roots_.begin())->GetClientVisibleRoot();
return nullptr;
}
@@ -695,7 +695,7 @@ ServerWindow* WindowManagerState::GetRootWindowContaining(
gfx::Point origin =
target_display_root->display()->GetDisplay().bounds().origin();
*location -= origin.OffsetFromOrigin();
- return target_display_root->GetClientVisibileRoot();
+ return target_display_root->GetClientVisibleRoot();
}
void WindowManagerState::OnEventTargetNotFound(const ui::Event& event) {
« no previous file with comments | « services/ui/ws/window_manager_display_root.cc ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698