Index: ash/devtools/ash_devtools_css_agent.h |
diff --git a/ash/devtools/ash_devtools_css_agent.h b/ash/devtools/ash_devtools_css_agent.h |
deleted file mode 100644 |
index 9225475f65636cb691b66a7624c5736a1585cceb..0000000000000000000000000000000000000000 |
--- a/ash/devtools/ash_devtools_css_agent.h |
+++ /dev/null |
@@ -1,57 +0,0 @@ |
-// Copyright 2016 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef ASH_DEVTOOLS_ASH_DEVTOOLS_CSS_AGENT_H_ |
-#define ASH_DEVTOOLS_ASH_DEVTOOLS_CSS_AGENT_H_ |
- |
-#include "ash/ash_export.h" |
-#include "ash/devtools/ash_devtools_dom_agent.h" |
-#include "base/macros.h" |
-#include "components/ui_devtools/CSS.h" |
- |
-namespace ash { |
-namespace devtools { |
- |
-class ASH_EXPORT AshDevToolsCSSAgent |
- : public NON_EXPORTED_BASE(ui::devtools::UiDevToolsBaseAgent< |
- ui::devtools::protocol::CSS::Metainfo>), |
- public AshDevToolsDOMAgentObserver { |
- public: |
- explicit AshDevToolsCSSAgent(AshDevToolsDOMAgent* dom_agent); |
- ~AshDevToolsCSSAgent() override; |
- |
- // CSS::Backend: |
- ui::devtools::protocol::Response enable() override; |
- ui::devtools::protocol::Response disable() override; |
- ui::devtools::protocol::Response getMatchedStylesForNode( |
- int node_id, |
- ui::devtools::protocol::Maybe<ui::devtools::protocol::CSS::CSSStyle>* |
- inline_style) override; |
- ui::devtools::protocol::Response setStyleTexts( |
- std::unique_ptr<ui::devtools::protocol::Array< |
- ui::devtools::protocol::CSS::StyleDeclarationEdit>> edits, |
- std::unique_ptr< |
- ui::devtools::protocol::Array<ui::devtools::protocol::CSS::CSSStyle>>* |
- result) override; |
- |
- // AshDevToolsDOMAgentObserver: |
- void OnNodeBoundsChanged(int node_id) override; |
- |
- private: |
- std::unique_ptr<ui::devtools::protocol::CSS::CSSStyle> GetStylesForNode( |
- int node_id); |
- void InvalidateStyleSheet(int node_id); |
- bool GetPropertiesForNodeId(int node_id, gfx::Rect* bounds, bool* visible); |
- bool SetPropertiesForNodeId(int node_id, |
- const gfx::Rect& bounds, |
- bool visible); |
- AshDevToolsDOMAgent* dom_agent_; |
- |
- DISALLOW_COPY_AND_ASSIGN(AshDevToolsCSSAgent); |
-}; |
- |
-} // namespace devtools |
-} // namespace ash |
- |
-#endif // ASH_DEVTOOLS_ASH_DEVTOOLS_CSS_AGENT_H_ |