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

Side by Side Diff: extensions/browser/guest_view/extension_view/extension_view_guest_delegate.h

Issue 1169223002: [Extensions] Clean up the handling of ExtensionHostMsg_Request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 years, 6 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 EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_VIEW_EXTENSION_VIEW_GUEST_DELEGA TE_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_VIEW_EXTENSION_VIEW_GUEST_DELEGA TE_H_
7
8 #include "base/macros.h"
9
10 namespace extensions {
11
12 class ExtensionViewGuest;
13
14 // Interface to handle communication between ExtensionViewGuest and
15 // the browser.
16 class ExtensionViewGuestDelegate {
17 public:
18 explicit ExtensionViewGuestDelegate(ExtensionViewGuest* guest);
19 virtual ~ExtensionViewGuestDelegate();
20
21 // Called from ExtensionViewGuest::DidInitialize().
22 virtual void DidInitialize() = 0;
23
24 ExtensionViewGuest* extension_view_guest() const { return guest_; }
25
26 private:
27 ExtensionViewGuest* const guest_;
28
29 DISALLOW_COPY_AND_ASSIGN(ExtensionViewGuestDelegate);
30 };
31
32 } // namespace extensions
33
34 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_VIEW_EXTENSION_VIEW_GUEST_DEL EGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698