OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 [Timeline, Inline=FastReturn] | 235 [Timeline, Inline=FastReturn] |
236 void didRecalculateStyleForElement(Element*); | 236 void didRecalculateStyleForElement(Element*); |
237 | 237 |
238 [Timeline, Resource, Inline=FastReturn] | 238 [Timeline, Resource, Inline=FastReturn] |
239 void didScheduleStyleRecalculation([Keep] Document*); | 239 void didScheduleStyleRecalculation([Keep] Document*); |
240 | 240 |
241 [Resource, Inline=FastReturn] | 241 [Resource, Inline=FastReturn] |
242 void applyUserAgentOverride(Frame*, String* userAgent); | 242 void applyUserAgentOverride(Frame*, String* userAgent); |
243 | 243 |
244 [Page, Inline=FastReturn] | 244 [Page, Inline=FastReturn] |
245 void applyScreenWidthOverride(Frame*, long* width); | |
246 | |
247 [Page, Inline=FastReturn] | |
248 void applyScreenHeightOverride(Frame*, long* height); | |
249 | |
250 [Page, Inline=FastReturn] | |
251 void applyEmulatedMedia(Frame*, String* media); | 245 void applyEmulatedMedia(Frame*, String* media); |
252 | 246 |
253 [Timeline, Resource] | 247 [Timeline, Resource] |
254 void willSendRequest(Frame*, unsigned long identifier, DocumentLoader*, Reso
urceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo
&); | 248 void willSendRequest(Frame*, unsigned long identifier, DocumentLoader*, Reso
urceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo
&); |
255 | 249 |
256 void continueAfterPingLoader(Frame*, unsigned long identifier, DocumentLoade
r*, ResourceRequest&, const ResourceResponse&); | 250 void continueAfterPingLoader(Frame*, unsigned long identifier, DocumentLoade
r*, ResourceRequest&, const ResourceResponse&); |
257 | 251 |
258 [Resource] | 252 [Resource] |
259 void markResourceAsCached(Page*, unsigned long identifier); | 253 void markResourceAsCached(Page*, unsigned long identifier); |
260 | 254 |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 #include "modules/webdatabase/Database.h" | 478 #include "modules/webdatabase/Database.h" |
485 | 479 |
486 [Database] | 480 [Database] |
487 void didOpenDatabase(ScriptExecutionContext* context, PassRefPtr<Database> d
atabase, const String& domain, const String& name, const String& version); | 481 void didOpenDatabase(ScriptExecutionContext* context, PassRefPtr<Database> d
atabase, const String& domain, const String& name, const String& version); |
488 } | 482 } |
489 | 483 |
490 interface InspectorOverrides { | 484 interface InspectorOverrides { |
491 [CSS, Inline=FastReturn] | 485 [CSS, Inline=FastReturn] |
492 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud
oState); | 486 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud
oState); |
493 | 487 |
494 [Page, Inline=FastReturn] | |
495 bool shouldApplyScreenWidthOverride(Frame* frame); | |
496 | |
497 [Page, Inline=FastReturn] | |
498 bool shouldApplyScreenHeightOverride(Frame* frame); | |
499 | |
500 [Worker, Inline=FastReturn] | 488 [Worker, Inline=FastReturn] |
501 bool shouldPauseDedicatedWorkerOnStart(ScriptExecutionContext* context); | 489 bool shouldPauseDedicatedWorkerOnStart(ScriptExecutionContext* context); |
502 | 490 |
503 [Page, Inline=FastReturn] | 491 [Page, Inline=FastReturn] |
504 GeolocationPosition* overrideGeolocationPosition(Page* page, [DefaultReturn]
GeolocationPosition* position); | 492 GeolocationPosition* overrideGeolocationPosition(Page* page, [DefaultReturn]
GeolocationPosition* position); |
505 | 493 |
506 [Page, Inline=FastReturn] | 494 [Page, Inline=FastReturn] |
507 DeviceOrientationData* overrideDeviceOrientation(Page* page, [DefaultReturn]
DeviceOrientationData* deviceOrientation); | 495 DeviceOrientationData* overrideDeviceOrientation(Page* page, [DefaultReturn]
DeviceOrientationData* deviceOrientation); |
508 | 496 |
509 [Profiler] | 497 [Profiler] |
510 String getCurrentUserInitiatedProfileName(ScriptExecutionContext* context, b
ool incrementProfileNumber); | 498 String getCurrentUserInitiatedProfileName(ScriptExecutionContext* context, b
ool incrementProfileNumber); |
511 } | 499 } |
512 | 500 |
513 | 501 |
514 interface InspectorCanvasInstrumentation { | 502 interface InspectorCanvasInstrumentation { |
515 | 503 |
516 #include "bindings/v8/ScriptObject.h" | 504 #include "bindings/v8/ScriptObject.h" |
517 | 505 |
518 [Canvas] | 506 [Canvas] |
519 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptObject&); | 507 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptObject&); |
520 | 508 |
521 [Canvas] | 509 [Canvas] |
522 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc
riptObject&); | 510 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc
riptObject&); |
523 } | 511 } |
OLD | NEW |