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

Unified Diff: components/mus/ws/window_manager_access_policy.cc

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase Created 4 years, 11 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 | « components/mus/ws/window_finder.cc ('k') | components/mus/ws/window_manager_client_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_manager_access_policy.cc
diff --git a/components/mus/ws/window_manager_access_policy.cc b/components/mus/ws/window_manager_access_policy.cc
index 65ac9c1859e548715813a8043fb24a594f2e6605..a6293ae7ba05b5bd53bb1048f516173aeddb03ee 100644
--- a/components/mus/ws/window_manager_access_policy.cc
+++ b/components/mus/ws/window_manager_access_policy.cc
@@ -79,7 +79,7 @@ bool WindowManagerAccessPolicy::CanChangeWindowVisibility(
bool WindowManagerAccessPolicy::CanSetWindowSurface(
const ServerWindow* window,
mus::mojom::SurfaceType surface_type) const {
- if (surface_type == mojom::SURFACE_TYPE_UNDERLAY)
+ if (surface_type == mojom::SurfaceType::UNDERLAY)
return window->id().connection_id == connection_id_;
if (delegate_->IsWindowRootOfAnotherConnectionForAccessPolicy(window))
« no previous file with comments | « components/mus/ws/window_finder.cc ('k') | components/mus/ws/window_manager_client_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698