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

Unified Diff: chrome/renderer/extensions/platform_app_dispatcher.h

Issue 8447017: [DRAFT] Add new default stylesheet for platform apps. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/extensions/platform_app_dispatcher.h
diff --git a/chrome/renderer/extensions/platform_app_dispatcher.h b/chrome/renderer/extensions/platform_app_dispatcher.h
new file mode 100644
index 0000000000000000000000000000000000000000..01710f7eafd6ad08c7a0f821c03e426cc7927c1d
--- /dev/null
+++ b/chrome/renderer/extensions/platform_app_dispatcher.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_RENDERER_EXTENSIONS_PLATFORM_APP_DISPATCHER_H_
+#define CHROME_RENDERER_EXTENSIONS_PLATFORM_APP_DISPATCHER_H_
+#pragma once
+
+#include "content/public/renderer/render_process_observer.h"
+
+// Dispatches platform-app control messages sent to the renderer.
+class PlatformAppDispatcher : public content::RenderProcessObserver {
+ public:
+ PlatformAppDispatcher();
+ ~PlatformAppDispatcher();
+
+ private:
+ virtual bool OnControlMessageReceived(const IPC::Message& message);
+ virtual void OnIsPlatformApp();
+
+ DISALLOW_COPY_AND_ASSIGN(PlatformAppDispatcher);
+};
+
+#endif // CHROME_RENDERER_EXTENSIONS_PLATFORM_APP_DISPATCHER_H_
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/extensions/platform_app_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698