summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorabeera@google.com <abeera@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-15 20:56:17 +0000
committerabeera@google.com <abeera@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-15 20:56:17 +0000
commita529af57f7b475e18cb878712c42c95c7c82e56b (patch)
treeea36e92433fecae3a8febb0635b4c8112a5a2ca3 /content
parent3ef7fb0d42affe262ab8cc3637a9982c65a59335 (diff)
downloadchromium_src-a529af57f7b475e18cb878712c42c95c7c82e56b.zip
chromium_src-a529af57f7b475e18cb878712c42c95c7c82e56b.tar.gz
chromium_src-a529af57f7b475e18cb878712c42c95c7c82e56b.tar.bz2
Virtual Cloud Print Driver for Mac.
Includes code for the driver itself. Also modifies the browser process as well as service process to register Apple Event handlers. Also changes the service process to allow registration of driver. BUG= TEST= Review URL: http://codereview.chromium.org/7485011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96825 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/common/cloud_print_class_mac.h19
-rw-r--r--content/common/cloud_print_class_mac.mm11
-rw-r--r--content/content_common.gypi2
3 files changed, 32 insertions, 0 deletions
diff --git a/content/common/cloud_print_class_mac.h b/content/common/cloud_print_class_mac.h
new file mode 100644
index 0000000..f562d1d
--- /dev/null
+++ b/content/common/cloud_print_class_mac.h
@@ -0,0 +1,19 @@
+// 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 CONTENT_COMMON_CLOUD_PRINT_CLASS_MAC_H_
+#define CONTENT_COMMON_CLOUD_PRINT_CLASS_MAC_H_
+#pragma once
+
+#import <AppKit/AppKit.h>
+
+namespace content {
+
+// Four character constant to identify Cloud print IPC call.
+extern const AEEventClass kAECloudPrintClass;
+
+} // namespace content
+
+#endif // CONTENT_COMMON_CLOUD_PRINT_CLASS_MAC_H_
+
diff --git a/content/common/cloud_print_class_mac.mm b/content/common/cloud_print_class_mac.mm
new file mode 100644
index 0000000..2f7f1e0
--- /dev/null
+++ b/content/common/cloud_print_class_mac.mm
@@ -0,0 +1,11 @@
+// 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.
+
+#import "content/common/cloud_print_class_mac.h"
+
+namespace content {
+
+const AEEventClass kAECloudPrintClass = 'GCPp';
+
+} // namespace content
diff --git a/content/content_common.gypi b/content/content_common.gypi
index 6781a95..59a83aa 100644
--- a/content/content_common.gypi
+++ b/content/content_common.gypi
@@ -52,6 +52,8 @@
'common/chrome_application_mac.h',
'common/chrome_application_mac.mm',
'common/chrome_descriptors.h',
+ 'common/cloud_print_class_mac.h',
+ 'common/cloud_print_class_mac.mm',
'common/clipboard_messages.h',
'common/common_param_traits.cc',
'common/common_param_traits.h',