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

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

Issue 394903004: document.lastModified should consider user's local time zone (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Finger crossed Created 6 years, 5 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
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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 void setFocused(bool); 309 void setFocused(bool);
310 310
311 bool ignoreLayoutWithPendingStylesheets(Document*, ExceptionState&); 311 bool ignoreLayoutWithPendingStylesheets(Document*, ExceptionState&);
312 312
313 void setNetworkStateNotifierTestOnly(bool); 313 void setNetworkStateNotifierTestOnly(bool);
314 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo. 314 // Test must call setNetworkStateNotifierTestOnly(true) before calling setNe tworkConnectionInfo.
315 void setNetworkConnectionInfo(const String&, ExceptionState&); 315 void setNetworkConnectionInfo(const String&, ExceptionState&);
316 String serializeNavigationMarkup(Document*); 316 String serializeNavigationMarkup(Document*);
317 317
318 unsigned countHitRegions(CanvasRenderingContext2D*); 318 unsigned countHitRegions(CanvasRenderingContext2D*);
319 double convertToLocalTime(double);
319 320
320 private: 321 private:
321 explicit Internals(Document*); 322 explicit Internals(Document*);
322 Document* contextDocument() const; 323 Document* contextDocument() const;
323 LocalFrame* frame() const; 324 LocalFrame* frame() const;
324 Vector<String> iconURLs(Document*, int iconTypesMask) const; 325 Vector<String> iconURLs(Document*, int iconTypesMask) const;
325 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 326 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
326 327
327 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 328 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
328 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 329 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
329 RefPtrWillBeMember<InternalProfilers> m_profilers; 330 RefPtrWillBeMember<InternalProfilers> m_profilers;
330 }; 331 };
331 332
332 } // namespace blink 333 } // namespace blink
333 334
334 #endif 335 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698