OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 .setWidth(rect.Width()) | 301 .setWidth(rect.Width()) |
302 .setHeight(rect.Height()) | 302 .setHeight(rect.Height()) |
303 .build(); | 303 .build(); |
304 } | 304 } |
305 | 305 |
306 } // namespace | 306 } // namespace |
307 | 307 |
308 namespace CSSAgentState { | 308 namespace CSSAgentState { |
309 static const char kCssAgentEnabled[] = "cssAgentEnabled"; | 309 static const char kCssAgentEnabled[] = "cssAgentEnabled"; |
310 static const char kRuleRecordingEnabled[] = "ruleRecordingEnabled"; | 310 static const char kRuleRecordingEnabled[] = "ruleRecordingEnabled"; |
311 } | 311 } // namespace CSSAgentState |
312 | 312 |
313 typedef blink::protocol::CSS::Backend::EnableCallback EnableCallback; | 313 typedef blink::protocol::CSS::Backend::EnableCallback EnableCallback; |
314 | 314 |
315 enum ForcePseudoClassFlags { | 315 enum ForcePseudoClassFlags { |
316 kPseudoNone = 0, | 316 kPseudoNone = 0, |
317 kPseudoHover = 1 << 0, | 317 kPseudoHover = 1 << 0, |
318 kPseudoFocus = 1 << 1, | 318 kPseudoFocus = 1 << 1, |
319 kPseudoActive = 1 << 2, | 319 kPseudoActive = 1 << 2, |
320 kPseudoVisited = 1 << 3, | 320 kPseudoVisited = 1 << 3, |
321 kPseudoFocusWithin = 1 << 4 | 321 kPseudoFocusWithin = 1 << 4 |
(...skipping 2238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2560 visitor->Trace(css_style_sheet_to_inspector_style_sheet_); | 2560 visitor->Trace(css_style_sheet_to_inspector_style_sheet_); |
2561 visitor->Trace(document_to_css_style_sheets_); | 2561 visitor->Trace(document_to_css_style_sheets_); |
2562 visitor->Trace(invalidated_documents_); | 2562 visitor->Trace(invalidated_documents_); |
2563 visitor->Trace(node_to_inspector_style_sheet_); | 2563 visitor->Trace(node_to_inspector_style_sheet_); |
2564 visitor->Trace(inspector_user_agent_style_sheet_); | 2564 visitor->Trace(inspector_user_agent_style_sheet_); |
2565 visitor->Trace(tracker_); | 2565 visitor->Trace(tracker_); |
2566 InspectorBaseAgent::Trace(visitor); | 2566 InspectorBaseAgent::Trace(visitor); |
2567 } | 2567 } |
2568 | 2568 |
2569 } // namespace blink | 2569 } // namespace blink |
OLD | NEW |