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

Side by Side Diff: extensions/renderer/guest_view/extensions_guest_view_container_observer.cc

Issue 1161483004: Move guest view container message routing out of content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newwindow 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 #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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698