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

Side by Side Diff: chrome/renderer/guest_view/chrome_guest_view_container_dispatcher.h

Issue 1602663003: Framelet Prototype 2016 using Mojo IPC Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Disabled oilpan Created 4 years, 11 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 CHROME_RENDERER_GUEST_VIEW_CHROME_GUEST_VIEW_CONTAINER_DISPATCHER_H_
6 #define CHROME_RENDERER_GUEST_VIEW_CHROME_GUEST_VIEW_CONTAINER_DISPATCHER_H_
7
8 #include "components/guest_view/renderer/guest_view_container_dispatcher.h"
9
10 #if defined(ENABLE_EXTENSIONS)
11 #include "extensions/renderer/guest_view/extensions_guest_view_container_dispatc her.h"
12 #endif
13
14 namespace chrome {
15
16 #if defined(ENABLE_EXTENSIONS)
17 using GuestViewContainerDispatcherBase =
18 extensions::ExtensionsGuestViewContainerDispatcher;
19 #else
20 using GuestViewContainerDispatcherBase =
21 guest_view::GuestViewContainerDispatcher;
22 #endif
23
24 class ChromeGuestViewContainerDispatcher
25 : public GuestViewContainerDispatcherBase {
26 public:
27 ChromeGuestViewContainerDispatcher();
28 ~ChromeGuestViewContainerDispatcher() override;
29
30 private:
31 // guest_view::GuestViewContainerDispatcher implementation.
32 bool HandlesMessage(const IPC::Message& message) override;
33
34 // content::RenderProcessObserver overrides.
35 bool OnControlMessageReceived(const IPC::Message& message) override;
36
37 // Message Handlers.
38 void OnRequestHeapSize(int routing_id);
39
40 DISALLOW_COPY_AND_ASSIGN(ChromeGuestViewContainerDispatcher);
41 };
42
43 } // namespace chrome
44
45 #endif // CHROME_RENDERER_GUEST_VIEW_CHROME_GUEST_VIEW_CONTAINER_DISPATCHER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/guest_view/DEPS ('k') | chrome/renderer/guest_view/chrome_guest_view_container_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698