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

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

Issue 38143002: Have LifecycleContext::lifecycleNotifier() return a reference (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 2 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/frame/DOMWindow.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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 230
231 void addMultisamplingChangedObserver(MultisamplingChangedObserver*); 231 void addMultisamplingChangedObserver(MultisamplingChangedObserver*);
232 void removeMultisamplingChangedObserver(MultisamplingChangedObserver*); 232 void removeMultisamplingChangedObserver(MultisamplingChangedObserver*);
233 void multisamplingChanged(); 233 void multisamplingChanged();
234 234
235 void didCommitLoad(Frame*); 235 void didCommitLoad(Frame*);
236 236
237 static void networkStateChanged(bool online); 237 static void networkStateChanged(bool online);
238 238
239 protected: 239 protected:
240 PageLifecycleNotifier* lifecycleNotifier(); 240 PageLifecycleNotifier& lifecycleNotifier();
241 241
242 private: 242 private:
243 void initGroup(); 243 void initGroup();
244 244
245 #if ASSERT_DISABLED 245 #if ASSERT_DISABLED
246 void checkSubframeCountConsistency() const { } 246 void checkSubframeCountConsistency() const { }
247 #else 247 #else
248 void checkSubframeCountConsistency() const; 248 void checkSubframeCountConsistency() const;
249 #endif 249 #endif
250 250
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 #endif 304 #endif
305 305
306 const OwnPtr<PageConsole> m_console; 306 const OwnPtr<PageConsole> m_console;
307 307
308 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; 308 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers;
309 }; 309 };
310 310
311 } // namespace WebCore 311 } // namespace WebCore
312 312
313 #endif // Page_h 313 #endif // Page_h
OLDNEW
« no previous file with comments | « Source/core/frame/DOMWindow.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698