| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_PROCESS_OBSERVER_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_PROCESS_OBSERVER_H_ |
| 6 #define CONTENT_PUBLIC_RENDERER_RENDER_PROCESS_OBSERVER_H_ | 6 #define CONTENT_PUBLIC_RENDERER_RENDER_PROCESS_OBSERVER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 virtual void OnRenderProcessShutdown() {} | 28 virtual void OnRenderProcessShutdown() {} |
| 29 | 29 |
| 30 // Called right after the WebKit API is initialized. | 30 // Called right after the WebKit API is initialized. |
| 31 virtual void WebKitInitialized() {} | 31 virtual void WebKitInitialized() {} |
| 32 | 32 |
| 33 // Called when the renderer cache of the plug-in list has changed. | 33 // Called when the renderer cache of the plug-in list has changed. |
| 34 virtual void PluginListChanged() {} | 34 virtual void PluginListChanged() {} |
| 35 | 35 |
| 36 virtual void IdleNotification() {} | 36 virtual void IdleNotification() {} |
| 37 | 37 |
| 38 // Called when the network state changes. |
| 39 virtual void NetworkStateChanged(bool online) {} |
| 40 |
| 38 private: | 41 private: |
| 39 DISALLOW_COPY_AND_ASSIGN(RenderProcessObserver); | 42 DISALLOW_COPY_AND_ASSIGN(RenderProcessObserver); |
| 40 }; | 43 }; |
| 41 | 44 |
| 42 } // namespace content | 45 } // namespace content |
| 43 | 46 |
| 44 #endif // CONTENT_PUBLIC_RENDERER_RENDER_PROCESS_OBSERVER_H_ | 47 #endif // CONTENT_PUBLIC_RENDERER_RENDER_PROCESS_OBSERVER_H_ |
| OLD | NEW |