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

Side by Side Diff: Source/core/testing/Internals.h

Issue 139103009: If a compositing update is declared as needed, scheduleAnimation should be triggered. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: patch for landing, added crbug to fixme comment Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderLayerCompositor.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 298
299 bool isSelectPopupVisible(Node*); 299 bool isSelectPopupVisible(Node*);
300 300
301 PassRefPtr<ClientRect> selectionBounds(ExceptionState&); 301 PassRefPtr<ClientRect> selectionBounds(ExceptionState&);
302 String baseURL(Document*, ExceptionState&); 302 String baseURL(Document*, ExceptionState&);
303 303
304 bool loseSharedGraphicsContext3D(); 304 bool loseSharedGraphicsContext3D();
305 305
306 void forceCompositingUpdate(Document*, ExceptionState&); 306 void forceCompositingUpdate(Document*, ExceptionState&);
307 307
308 bool isCompositorFramePending(Document*, ExceptionState&);
309
308 void setZoomFactor(float); 310 void setZoomFactor(float);
309 311
310 void setShouldRevealPassword(Element*, bool, ExceptionState&); 312 void setShouldRevealPassword(Element*, bool, ExceptionState&);
311 313
312 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise); 314 ScriptPromise addOneToPromise(ExecutionContext*, ScriptPromise);
313 315
314 private: 316 private:
315 explicit Internals(Document*); 317 explicit Internals(Document*);
316 Document* contextDocument() const; 318 Document* contextDocument() const;
317 Frame* frame() const; 319 Frame* frame() const;
318 Vector<String> iconURLs(Document*, int iconTypesMask) const; 320 Vector<String> iconURLs(Document*, int iconTypesMask) const;
319 PassRefPtr<ClientRectList> annotatedRegions(Document*, bool draggable, Excep tionState&); 321 PassRefPtr<ClientRectList> annotatedRegions(Document*, bool draggable, Excep tionState&);
320 322
321 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 323 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
322 RefPtr<DOMWindow> m_frontendWindow; 324 RefPtr<DOMWindow> m_frontendWindow;
323 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 325 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
324 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 326 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
325 RefPtr<InternalProfilers> m_profilers; 327 RefPtr<InternalProfilers> m_profilers;
326 }; 328 };
327 329
328 } // namespace WebCore 330 } // namespace WebCore
329 331
330 #endif 332 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayerCompositor.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698