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

Side by Side Diff: chrome/renderer/chrome_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 "chrome/renderer/chrome_guest_view_container_observer.h"
Fady Samuel 2015/06/01 11:32:25 Why do we need this class at all? ExtensiosnGuestV
lazyboy 2015/06/01 16:00:07 See comment in other file.
6
7 #include "ipc/ipc_message.h"
8 #include "ipc/ipc_message_macros.h"
9
10 ChromeGuestViewContainerObserver::ChromeGuestViewContainerObserver() {
Fady Samuel 2015/06/01 11:32:25 This is more of a GuestViewContaineDispatcher.
lazyboy 2015/06/01 16:00:07 Done.
11 }
12
13 ChromeGuestViewContainerObserver::~ChromeGuestViewContainerObserver() {
14 }
15
16 bool ChromeGuestViewContainerObserver::HandlesMessage(
17 const IPC::Message& message) {
18 if (IPC_MESSAGE_CLASS(message) == GuestViewMsgStart)
19 return true;
20 #if defined(ENABLE_EXTENSIONS)
21 return IPC_MESSAGE_CLASS(message) == ExtensionsGuestViewMsgStart;
22 #else
23 return false;
24 #endif
25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698