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/common/devtools/ash_devtools_dom_agent.h" |
6 | 6 |
7 #include "ash/common/wm_lookup.h" | 7 #include "ash/common/wm_lookup.h" |
8 #include "ash/common/wm_root_window_controller.h" | |
9 #include "ash/common/wm_window.h" | 8 #include "ash/common/wm_window.h" |
10 #include "ash/public/cpp/shell_window_ids.h" | 9 #include "ash/public/cpp/shell_window_ids.h" |
| 10 #include "ash/root_window_controller.h" |
11 #include "components/ui_devtools/devtools_server.h" | 11 #include "components/ui_devtools/devtools_server.h" |
12 #include "third_party/skia/include/core/SkColor.h" | 12 #include "third_party/skia/include/core/SkColor.h" |
13 #include "ui/display/display.h" | 13 #include "ui/display/display.h" |
14 #include "ui/views/background.h" | 14 #include "ui/views/background.h" |
15 #include "ui/views/border.h" | 15 #include "ui/views/border.h" |
16 | 16 |
17 namespace ash { | 17 namespace ash { |
18 namespace devtools { | 18 namespace devtools { |
19 | 19 |
20 namespace { | 20 namespace { |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 return ui::devtools::protocol::Response::OK(); | 522 return ui::devtools::protocol::Response::OK(); |
523 } | 523 } |
524 | 524 |
525 bool AshDevToolsDOMAgent::IsHighlightingWindow(WmWindow* window) { | 525 bool AshDevToolsDOMAgent::IsHighlightingWindow(WmWindow* window) { |
526 return widget_for_highlighting_ && | 526 return widget_for_highlighting_ && |
527 window->GetInternalWidget() == widget_for_highlighting_.get(); | 527 window->GetInternalWidget() == widget_for_highlighting_.get(); |
528 } | 528 } |
529 | 529 |
530 } // namespace devtools | 530 } // namespace devtools |
531 } // namespace ash | 531 } // namespace ash |
OLD | NEW |