OLD | NEW |
---|---|
(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 #include "extensions/renderer/guest_view/extensions_guest_view_container_observe r.h" | |
6 | |
7 #include "ipc/ipc_message.h" | |
8 #include "ipc/ipc_message_macros.h" | |
9 | |
10 namespace extensions { | |
11 | |
12 ExtensionsGuestViewContainerObserver::ExtensionsGuestViewContainerObserver() { | |
13 } | |
14 | |
15 ExtensionsGuestViewContainerObserver::~ExtensionsGuestViewContainerObserver() { | |
16 } | |
17 | |
18 bool ExtensionsGuestViewContainerObserver::HandlesMessage( | |
19 const IPC::Message& message) { | |
20 return (IPC_MESSAGE_CLASS(message) == GuestViewMsgStart) || | |
21 (IPC_MESSAGE_CLASS(message) == ExtensionsGuestViewMsgStart); | |
Fady Samuel
2015/06/01 11:32:25
You only need to add this. Call the base class:
r
lazyboy
2015/06/01 16:00:07
If we disable extensions, then we shouldn't handle
| |
22 } | |
23 | |
24 } // namespace extensions | |
OLD | NEW |