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

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: fix 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
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 clearWeakMembers(Visitor*); 222 void clearWeakMembers(Visitor*);
221 void willBeDestroyed(); 223 void willBeDestroyed();
222 224
223 protected: 225 protected:
224 PageLifecycleNotifier& lifecycleNotifier(); 226 PageLifecycleNotifier& lifecycleNotifier();
225 227
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_m ultisamplingChangedObservers; 288 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_m ultisamplingChangedObservers;
287 289
288 // A pointer to all the interfaces provided to in-process Frames for this Pa ge. 290 // A pointer to all the interfaces provided to in-process Frames for this Pa ge.
289 // FIXME: Most of the members of Page should move onto FrameHost. 291 // FIXME: Most of the members of Page should move onto FrameHost.
290 OwnPtr<FrameHost> m_frameHost; 292 OwnPtr<FrameHost> m_frameHost;
291 }; 293 };
292 294
293 } // namespace WebCore 295 } // namespace WebCore
294 296
295 #endif // Page_h 297 #endif // Page_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698