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

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

Issue 2134033002: Remove PageLifecycleObserver::didCommitLoad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « third_party/WebKit/Source/core/page/PageLifecycleNotifier.cpp ('k') | no next file » | 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 /* 2 /*
3 * Copyright (C) 2013 Google Inc. All Rights Reserved. 3 * Copyright (C) 2013 Google Inc. All Rights Reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 20 matching lines...) Expand all
31 #include "core/page/Page.h" 31 #include "core/page/Page.h"
32 #include "platform/LifecycleObserver.h" 32 #include "platform/LifecycleObserver.h"
33 33
34 namespace blink { 34 namespace blink {
35 35
36 class LocalFrame; 36 class LocalFrame;
37 37
38 class CORE_EXPORT PageLifecycleObserver : public LifecycleObserver<Page, PageLif ecycleObserver> { 38 class CORE_EXPORT PageLifecycleObserver : public LifecycleObserver<Page, PageLif ecycleObserver> {
39 public: 39 public:
40 virtual void pageVisibilityChanged() { } 40 virtual void pageVisibilityChanged() { }
41 virtual void didCommitLoad(LocalFrame*) { }
42 41
43 Page* page() const { return lifecycleContext(); } 42 Page* page() const { return lifecycleContext(); }
44 43
45 protected: 44 protected:
46 explicit PageLifecycleObserver(Page* page) 45 explicit PageLifecycleObserver(Page* page)
47 : LifecycleObserver(page) 46 : LifecycleObserver(page)
48 { 47 {
49 } 48 }
50 49
51 }; 50 };
52 51
53 } // namespace blink 52 } // namespace blink
54 53
55 #endif // PageLifecycleObserver_h 54 #endif // PageLifecycleObserver_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/PageLifecycleNotifier.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698