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

Unified Diff: ash/common/devtools/ash_devtools_css_agent.h

Issue 2739523002: Ash devtools: Add support for changing visibility. (Closed)
Patch Set: . Created 3 years, 9 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
Index: ash/common/devtools/ash_devtools_css_agent.h
diff --git a/ash/common/devtools/ash_devtools_css_agent.h b/ash/common/devtools/ash_devtools_css_agent.h
index 84f645d2b940daf7a7d67efd7cd6e39145415f86..f08795db3ce6fc7eef3fb06b1f42b0dc30f61073 100644
--- a/ash/common/devtools/ash_devtools_css_agent.h
+++ b/ash/common/devtools/ash_devtools_css_agent.h
@@ -43,9 +43,10 @@ class ASH_EXPORT AshDevToolsCSSAgent
std::unique_ptr<ui::devtools::protocol::CSS::CSSStyle> GetStylesForNode(
int node_id);
void InvalidateStyleSheet(int node_id);
- bool GetBoundsForNodeId(int node_id, gfx::Rect* bounds);
- bool UpdateBounds(int node_id, const gfx::Rect& bounds);
-
+ bool GetPropertiesForNodeId(int node_id, gfx::Rect* bounds, bool* visible);
+ bool SetPropertiesForNodeId(int node_id,
+ const gfx::Rect& bounds,
+ const bool visible);
varkha 2017/03/10 20:17:58 Not sure if const is necessary for simple types pa
AshDevToolsDOMAgent* dom_agent_;
DISALLOW_COPY_AND_ASSIGN(AshDevToolsCSSAgent);
« no previous file with comments | « no previous file | ash/common/devtools/ash_devtools_css_agent.cc » ('j') | ash/common/devtools/ash_devtools_css_agent.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698