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

Side by Side Diff: Source/core/frame/DOMWindow.h

Issue 288393002: Implement navigator.languages. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@language_change_tests
Patch Set: Created 6 years, 7 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 void enqueuePageshowEvent(PageshowEventPersistence); 319 void enqueuePageshowEvent(PageshowEventPersistence);
320 void enqueueHashchangeEvent(const String& oldURL, const String& newURL); 320 void enqueueHashchangeEvent(const String& oldURL, const String& newURL);
321 void enqueuePopstateEvent(PassRefPtr<SerializedScriptValue>); 321 void enqueuePopstateEvent(PassRefPtr<SerializedScriptValue>);
322 void dispatchWindowLoadEvent(); 322 void dispatchWindowLoadEvent();
323 void documentWasClosed(); 323 void documentWasClosed();
324 void statePopped(PassRefPtr<SerializedScriptValue>); 324 void statePopped(PassRefPtr<SerializedScriptValue>);
325 325
326 // FIXME: This shouldn't be public once DOMWindow becomes ExecutionConte xt. 326 // FIXME: This shouldn't be public once DOMWindow becomes ExecutionConte xt.
327 void clearEventQueue(); 327 void clearEventQueue();
328 328
329 void acceptLanguagesChanged();
330
329 void trace(Visitor*); 331 void trace(Visitor*);
330 332
331 protected: 333 protected:
332 DOMWindowLifecycleNotifier& lifecycleNotifier(); 334 DOMWindowLifecycleNotifier& lifecycleNotifier();
333 335
334 private: 336 private:
335 explicit DOMWindow(LocalFrame&); 337 explicit DOMWindow(LocalFrame&);
336 338
337 Page* page(); 339 Page* page();
338 340
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 } 388 }
387 389
388 inline String DOMWindow::defaultStatus() const 390 inline String DOMWindow::defaultStatus() const
389 { 391 {
390 return m_defaultStatus; 392 return m_defaultStatus;
391 } 393 }
392 394
393 } // namespace WebCore 395 } // namespace WebCore
394 396
395 #endif // DOMWindow_h 397 #endif // DOMWindow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698