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

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

Issue 968633002: Simplify lifecycle notifiers and observers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 | Annotate | Revision Log
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,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 */ 19 */
20 20
21 #ifndef Page_h 21 #ifndef Page_h
22 #define Page_h 22 #define Page_h
23 23
24 #include "core/dom/ViewportDescription.h" 24 #include "core/dom/ViewportDescription.h"
25 #include "core/frame/LocalFrame.h" 25 #include "core/frame/LocalFrame.h"
26 #include "core/frame/SettingsDelegate.h" 26 #include "core/frame/SettingsDelegate.h"
27 #include "core/frame/UseCounter.h" 27 #include "core/frame/UseCounter.h"
28 #include "core/page/PageAnimator.h" 28 #include "core/page/PageAnimator.h"
29 #include "core/page/PageLifecycleNotifier.h" 29 #include "core/page/PageLifecycleNotifier.h"
30 #include "core/page/PageLifecycleObserver.h"
30 #include "core/page/PageVisibilityState.h" 31 #include "core/page/PageVisibilityState.h"
31 #include "platform/Supplementable.h" 32 #include "platform/Supplementable.h"
32 #include "platform/geometry/LayoutRect.h" 33 #include "platform/geometry/LayoutRect.h"
33 #include "platform/geometry/Region.h" 34 #include "platform/geometry/Region.h"
34 #include "platform/heap/Handle.h" 35 #include "platform/heap/Handle.h"
35 #include "wtf/Forward.h" 36 #include "wtf/Forward.h"
36 #include "wtf/HashSet.h" 37 #include "wtf/HashSet.h"
37 #include "wtf/Noncopyable.h" 38 #include "wtf/Noncopyable.h"
38 #include "wtf/text/WTFString.h" 39 #include "wtf/text/WTFString.h"
39 40
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver>> m_mu ltisamplingChangedObservers; 266 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver>> m_mu ltisamplingChangedObservers;
266 267
267 // A pointer to all the interfaces provided to in-process Frames for this Pa ge. 268 // A pointer to all the interfaces provided to in-process Frames for this Pa ge.
268 // FIXME: Most of the members of Page should move onto FrameHost. 269 // FIXME: Most of the members of Page should move onto FrameHost.
269 OwnPtrWillBeMember<FrameHost> m_frameHost; 270 OwnPtrWillBeMember<FrameHost> m_frameHost;
270 }; 271 };
271 272
272 } // namespace blink 273 } // namespace blink
273 274
274 #endif // Page_h 275 #endif // Page_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698