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

Unified Diff: ash/mus/disconnected_app_handler.cc

Issue 2182633011: Replaces ::ui:: with ui:: in ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « ash/mus/disconnected_app_handler.h ('k') | ash/mus/frame/move_event_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/disconnected_app_handler.cc
diff --git a/ash/mus/disconnected_app_handler.cc b/ash/mus/disconnected_app_handler.cc
index d885a261ed0b13d7feb8f268432bf5f7e4550f7b..112d3def777951d9f0d4bc645c606a7f48edcbd1 100644
--- a/ash/mus/disconnected_app_handler.cc
+++ b/ash/mus/disconnected_app_handler.cc
@@ -11,13 +11,13 @@ namespace ash {
namespace mus {
namespace {
-bool IsContainer(::ui::Window* window) {
+bool IsContainer(ui::Window* window) {
return WmWindowMus::Get(window)->IsContainer();
}
} // namespace
-DisconnectedAppHandler::DisconnectedAppHandler(::ui::Window* root_window) {
+DisconnectedAppHandler::DisconnectedAppHandler(ui::Window* root_window) {
WmWindowMus* root = WmWindowMus::Get(root_window);
for (int shell_window_id = kShellWindowId_Min;
shell_window_id < kShellWindowId_Max; ++shell_window_id) {
@@ -40,7 +40,7 @@ DisconnectedAppHandler::DisconnectedAppHandler(::ui::Window* root_window) {
// Add any pre-existing windows in the container to
// |disconnected_app_handler_|.
- for (::ui::Window* child : container->mus_window()->children()) {
+ for (ui::Window* child : container->mus_window()->children()) {
if (!IsContainer(child))
Add(child);
}
@@ -50,7 +50,7 @@ DisconnectedAppHandler::DisconnectedAppHandler(::ui::Window* root_window) {
DisconnectedAppHandler::~DisconnectedAppHandler() {}
void DisconnectedAppHandler::OnWindowEmbeddedAppDisconnected(
- ::ui::Window* window) {
+ ui::Window* window) {
if (!IsContainer(window))
window->Destroy();
}
@@ -62,7 +62,7 @@ void DisconnectedAppHandler::OnTreeChanging(const TreeChangeParams& params) {
if (params.new_parent == params.receiver && IsContainer(params.new_parent))
Add(params.target);
- ::ui::WindowTracker::OnTreeChanging(params);
+ ui::WindowTracker::OnTreeChanging(params);
}
} // namespace mus
« no previous file with comments | « ash/mus/disconnected_app_handler.h ('k') | ash/mus/frame/move_event_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698