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

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

Issue 2704083002: Remove Page dependency from NetworkStateNotifier (Closed)
Patch Set: nullcheck for tests Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved.
5 * (http://www.torchmobile.com/) 5 * (http://www.torchmobile.com/)
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 213
214 #if DCHECK_IS_ON() 214 #if DCHECK_IS_ON()
215 void setIsPainting(bool painting) { m_isPainting = painting; } 215 void setIsPainting(bool painting) { m_isPainting = painting; }
216 bool isPainting() const { return m_isPainting; } 216 bool isPainting() const { return m_isPainting; }
217 #endif 217 #endif
218 218
219 void didCommitLoad(LocalFrame*); 219 void didCommitLoad(LocalFrame*);
220 220
221 void acceptLanguagesChanged(); 221 void acceptLanguagesChanged();
222 222
223 static void networkStateChanged(bool online);
224
225 DECLARE_TRACE(); 223 DECLARE_TRACE();
226 224
227 void layerTreeViewInitialized(WebLayerTreeView&, FrameView*); 225 void layerTreeViewInitialized(WebLayerTreeView&, FrameView*);
228 void willCloseLayerTreeView(WebLayerTreeView&, FrameView*); 226 void willCloseLayerTreeView(WebLayerTreeView&, FrameView*);
229 227
230 void willBeDestroyed(); 228 void willBeDestroyed();
231 229
232 private: 230 private:
233 friend class ScopedPageSuspender; 231 friend class ScopedPageSuspender;
234 232
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // Page. 299 // Page.
302 // FIXME: Most of the members of Page should move onto FrameHost. 300 // FIXME: Most of the members of Page should move onto FrameHost.
303 Member<FrameHost> m_frameHost; 301 Member<FrameHost> m_frameHost;
304 }; 302 };
305 303
306 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; 304 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>;
307 305
308 } // namespace blink 306 } // namespace blink
309 307
310 #endif // Page_h 308 #endif // Page_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/NetworkStateNotifierTest.cpp ('k') | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698