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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.h

Issue 2962113002: Updates to Server-Timing in accordance with with spec changes (Closed)
Patch Set: fix web-platform-tests Created 3 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) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
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 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 void StatePopped(PassRefPtr<SerializedScriptValue>); 309 void StatePopped(PassRefPtr<SerializedScriptValue>);
310 310
311 // FIXME: This shouldn't be public once LocalDOMWindow becomes 311 // FIXME: This shouldn't be public once LocalDOMWindow becomes
312 // ExecutionContext. 312 // ExecutionContext.
313 void ClearEventQueue(); 313 void ClearEventQueue();
314 314
315 void AcceptLanguagesChanged(); 315 void AcceptLanguagesChanged();
316 316
317 FloatSize GetViewportSize(IncludeScrollbarsInRect) const; 317 FloatSize GetViewportSize(IncludeScrollbarsInRect) const;
318 318
319 void SetHasLoadEventFired() { has_load_event_fired_ = true; }
320 bool HasLoadEventFired() { return has_load_event_fired_; }
321
322 protected: 319 protected:
323 // EventTarget overrides. 320 // EventTarget overrides.
324 void AddedEventListener(const AtomicString& event_type, 321 void AddedEventListener(const AtomicString& event_type,
325 RegisteredEventListener&) override; 322 RegisteredEventListener&) override;
326 void RemovedEventListener(const AtomicString& event_type, 323 void RemovedEventListener(const AtomicString& event_type,
327 const RegisteredEventListener&) override; 324 const RegisteredEventListener&) override;
328 325
329 // Protected DOMWindow overrides. 326 // Protected DOMWindow overrides.
330 void SchedulePostMessage(MessageEvent*, 327 void SchedulePostMessage(MessageEvent*,
331 PassRefPtr<SecurityOrigin> target, 328 PassRefPtr<SecurityOrigin> target,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 return status_; 390 return status_;
394 } 391 }
395 392
396 inline String LocalDOMWindow::defaultStatus() const { 393 inline String LocalDOMWindow::defaultStatus() const {
397 return default_status_; 394 return default_status_;
398 } 395 }
399 396
400 } // namespace blink 397 } // namespace blink
401 398
402 #endif // LocalDOMWindow_h 399 #endif // LocalDOMWindow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698