ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / extensions / browser / deferred_start_render_host_observer.h
blob64b93fc413564369e1f438ba9befd80e8a6257d8
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_BROWSER_DEFERRED_START_RENDER_HOST_OBSERVER_H_
6 #define EXTENSIONS_BROWSER_DEFERRED_START_RENDER_HOST_OBSERVER_H_
8 namespace extensions {
9 class DeferredStartRenderHost;
11 // Observer of DeferredStartRenderHost lifetime.
13 // Note that if BackgroundContents and ExtensionHost are unified
14 // (crbug.com/77790), this can be replaced by ExtensionHostObserver.
15 class DeferredStartRenderHostObserver {
16 public:
17 virtual ~DeferredStartRenderHostObserver() {}
19 // Called when a DeferredStartRenderHost started loading.
20 virtual void OnDeferredStartRenderHostDidStartLoading(
21 const DeferredStartRenderHost* host) {}
23 // Called when a DeferredStartRenderHost stopped loading.
24 virtual void OnDeferredStartRenderHostDidStopLoading(
25 const DeferredStartRenderHost* host) {}
27 // Called when a DeferredStartRenderHost is destroyed.
28 virtual void OnDeferredStartRenderHostDestroyed(
29 const DeferredStartRenderHost* host) {}
32 } // namespace extensions
34 #endif // EXTENSIONS_BROWSER_DEFERRED_START_RENDER_HOST_OBSERVER_H_