OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 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_EXTENSIONS_PLATFORM_APP_DISPATCHER_H_ |
| 6 #define CHROME_RENDERER_EXTENSIONS_PLATFORM_APP_DISPATCHER_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "content/public/renderer/render_process_observer.h" |
| 10 |
| 11 // Dispatches platform-app control messages sent to the renderer. |
| 12 class PlatformAppDispatcher : public content::RenderProcessObserver { |
| 13 public: |
| 14 PlatformAppDispatcher(); |
| 15 ~PlatformAppDispatcher(); |
| 16 |
| 17 private: |
| 18 virtual bool OnControlMessageReceived(const IPC::Message& message); |
| 19 virtual void OnIsPlatformApp(); |
| 20 |
| 21 DISALLOW_COPY_AND_ASSIGN(PlatformAppDispatcher); |
| 22 }; |
| 23 |
| 24 #endif // CHROME_RENDERER_EXTENSIONS_PLATFORM_APP_DISPATCHER_H_ |
OLD | NEW |