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

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: error 500 Created 6 years, 6 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
« no previous file with comments | « LayoutTests/navigator_language/navigator_language.html ('k') | Source/core/frame/DOMWindow.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) 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 virtual void trace(Visitor*) OVERRIDE; 331 virtual void trace(Visitor*) OVERRIDE;
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 } 400 }
399 401
400 inline String DOMWindow::defaultStatus() const 402 inline String DOMWindow::defaultStatus() const
401 { 403 {
402 return m_defaultStatus; 404 return m_defaultStatus;
403 } 405 }
404 406
405 } // namespace WebCore 407 } // namespace WebCore
406 408
407 #endif // DOMWindow_h 409 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « LayoutTests/navigator_language/navigator_language.html ('k') | Source/core/frame/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698