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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base_observer.h

Issue 1711103002: Implement lifetime observer on RenderWidgetHostViewBase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased to r378132. Created 4 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
(Empty)
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.
4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_OBSERVER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_OBSERVER_H_
7
8 #include "base/macros.h"
9 #include "content/common/content_export.h"
10
11 namespace content {
12
13 class RenderWidgetHostViewBase;
14
15 class CONTENT_EXPORT RenderWidgetHostViewBaseObserver {
16 public:
17 // All derived classes must de-register as observers when receiving this
18 // notification.
19 virtual void OnRenderWidgetHostViewBaseDestroyed(
20 RenderWidgetHostViewBase* view);
21
22 protected:
23 RenderWidgetHostViewBaseObserver() = default;
24 virtual ~RenderWidgetHostViewBaseObserver();
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBaseObserver);
28 };
29
30 } // namespace content
31
32 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_OBSERVER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698