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

Unified Diff: ui/aura/window.cc

Issue 2865713003: Remove ash dependency. (Closed)
Patch Set: use window coordinates to set bounds 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
« ash/devtools/ash_devtools_dom_agent.cc ('K') | « ui/aura/window.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index 714c9f0229731d40794e89b3affb0f7c99786b30..886d75a7fba6f0601fe6a3740b105cb5d0b120f9 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -603,7 +603,6 @@ void Window::OnDeviceScaleFactorChanged(float device_scale_factor) {
port_->OnDeviceScaleFactorChanged(device_scale_factor);
}
-#if !defined(NDEBUG)
std::string Window::GetDebugInfo() const {
return base::StringPrintf(
"%s<%d> bounds(%d, %d, %d, %d) %s %s opacity=%.1f",
@@ -625,7 +624,6 @@ void Window::PrintWindowHierarchy(int depth) const {
child->PrintWindowHierarchy(depth + 1);
}
}
-#endif
void Window::RemoveOrDestroyChildren() {
while (!children_.empty()) {
« ash/devtools/ash_devtools_dom_agent.cc ('K') | « ui/aura/window.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698