| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ash/common/devtools/ash_devtools_dom_agent.h" | 5 #include "ash/devtools/ash_devtools_dom_agent.h" |
| 6 | 6 |
| 7 #include "ash/common/wm_window.h" | |
| 8 #include "ash/public/cpp/shell_window_ids.h" | 7 #include "ash/public/cpp/shell_window_ids.h" |
| 9 #include "ash/root_window_controller.h" | 8 #include "ash/root_window_controller.h" |
| 9 #include "ash/wm_window.h" |
| 10 #include "components/ui_devtools/devtools_server.h" | 10 #include "components/ui_devtools/devtools_server.h" |
| 11 #include "third_party/skia/include/core/SkColor.h" | 11 #include "third_party/skia/include/core/SkColor.h" |
| 12 #include "ui/display/display.h" | 12 #include "ui/display/display.h" |
| 13 #include "ui/views/background.h" | 13 #include "ui/views/background.h" |
| 14 #include "ui/views/border.h" | 14 #include "ui/views/border.h" |
| 15 | 15 |
| 16 namespace ash { | 16 namespace ash { |
| 17 namespace devtools { | 17 namespace devtools { |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| (...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 return ui::devtools::protocol::Response::OK(); | 523 return ui::devtools::protocol::Response::OK(); |
| 524 } | 524 } |
| 525 | 525 |
| 526 bool AshDevToolsDOMAgent::IsHighlightingWindow(WmWindow* window) { | 526 bool AshDevToolsDOMAgent::IsHighlightingWindow(WmWindow* window) { |
| 527 return widget_for_highlighting_ && | 527 return widget_for_highlighting_ && |
| 528 GetWidgetFromWmWindow(window) == widget_for_highlighting_.get(); | 528 GetWidgetFromWmWindow(window) == widget_for_highlighting_.get(); |
| 529 } | 529 } |
| 530 | 530 |
| 531 } // namespace devtools | 531 } // namespace devtools |
| 532 } // namespace ash | 532 } // namespace ash |
| OLD | NEW |