| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2013 Google Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef PageVisibilityNotifier_h | 26 #ifndef PageVisibilityNotifier_h |
| 27 #define PageVisibilityNotifier_h | 27 #define PageVisibilityNotifier_h |
| 28 | 28 |
| 29 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
| 30 #include "platform/LifecycleNotifier.h" | 30 #include "platform/LifecycleNotifier.h" |
| 31 | 31 |
| 32 namespace blink { | 32 namespace blink { |
| 33 | 33 |
| 34 class LocalFrame; | |
| 35 class Page; | 34 class Page; |
| 36 class PageVisibilityObserver; | 35 class PageVisibilityObserver; |
| 37 | 36 |
| 38 class CORE_EXPORT PageVisibilityNotifier | 37 class CORE_EXPORT PageVisibilityNotifier |
| 39 : public LifecycleNotifier<Page, PageVisibilityObserver> { | 38 : public LifecycleNotifier<Page, PageVisibilityObserver> { |
| 40 public: | 39 public: |
| 41 void notifyPageVisibilityChanged(); | 40 void notifyPageVisibilityChanged(); |
| 42 }; | 41 }; |
| 43 | 42 |
| 44 } // namespace blink | 43 } // namespace blink |
| 45 | 44 |
| 46 #endif // PageVisibilityNotifier_h | 45 #endif // PageVisibilityNotifier_h |
| OLD | NEW |