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

Side by Side Diff: Source/core/page/Page.h

Issue 284793003: Implement languagechange event, fired when accept languages changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase and add tests 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
« no previous file with comments | « Source/core/html/HTMLFrameSetElement.cpp ('k') | Source/core/page/Page.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, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 class MultisamplingChangedObserver : public WillBeGarbageCollectedMixin { 206 class MultisamplingChangedObserver : public WillBeGarbageCollectedMixin {
207 public: 207 public:
208 virtual void multisamplingChanged(bool) = 0; 208 virtual void multisamplingChanged(bool) = 0;
209 }; 209 };
210 210
211 void addMultisamplingChangedObserver(MultisamplingChangedObserver*); 211 void addMultisamplingChangedObserver(MultisamplingChangedObserver*);
212 void removeMultisamplingChangedObserver(MultisamplingChangedObserver*); 212 void removeMultisamplingChangedObserver(MultisamplingChangedObserver*);
213 213
214 void didCommitLoad(LocalFrame*); 214 void didCommitLoad(LocalFrame*);
215 215
216 void acceptLanguagesChanged();
217
216 static void networkStateChanged(bool online); 218 static void networkStateChanged(bool online);
217 PassOwnPtr<LifecycleNotifier<Page> > createLifecycleNotifier(); 219 PassOwnPtr<LifecycleNotifier<Page> > createLifecycleNotifier();
218 220
219 void trace(Visitor*); 221 void trace(Visitor*);
220 void willBeDestroyed(); 222 void willBeDestroyed();
221 223
222 protected: 224 protected:
223 PageLifecycleNotifier& lifecycleNotifier(); 225 PageLifecycleNotifier& lifecycleNotifier();
224 226
225 private: 227 private:
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_m ultisamplingChangedObservers; 287 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_m ultisamplingChangedObservers;
286 288
287 // A pointer to all the interfaces provided to in-process Frames for this Pa ge. 289 // A pointer to all the interfaces provided to in-process Frames for this Pa ge.
288 // FIXME: Most of the members of Page should move onto FrameHost. 290 // FIXME: Most of the members of Page should move onto FrameHost.
289 OwnPtrWillBeMember<FrameHost> m_frameHost; 291 OwnPtrWillBeMember<FrameHost> m_frameHost;
290 }; 292 };
291 293
292 } // namespace WebCore 294 } // namespace WebCore
293 295
294 #endif // Page_h 296 #endif // Page_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLFrameSetElement.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698