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

Side by Side Diff: chrome/renderer/external_host_bindings.h

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 years, 5 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
« no previous file with comments | « chrome/renderer/dom_ui_bindings.h ('k') | chrome/renderer/mock_printer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_EXTERNAL_HOST_BINDINGS_H_ 5 #ifndef CHROME_RENDERER_EXTERNAL_HOST_BINDINGS_H_
6 #define CHROME_RENDERER_EXTERNAL_HOST_BINDINGS_H_ 6 #define CHROME_RENDERER_EXTERNAL_HOST_BINDINGS_H_
7 7
8 #include "chrome/common/ipc_message.h"
9 #include "chrome/renderer/dom_ui_bindings.h" 8 #include "chrome/renderer/dom_ui_bindings.h"
9 #include "ipc/ipc_message.h"
10 10
11 // ExternalHostBindings is the class backing the "externalHost" object 11 // ExternalHostBindings is the class backing the "externalHost" object
12 // accessible from Javascript 12 // accessible from Javascript
13 // 13 //
14 // We expose one function, for sending a message to the external host: 14 // We expose one function, for sending a message to the external host:
15 // postMessage(String message[, String target]); 15 // postMessage(String message[, String target]);
16 class ExternalHostBindings : public DOMBoundBrowserObject { 16 class ExternalHostBindings : public DOMBoundBrowserObject {
17 public: 17 public:
18 ExternalHostBindings(); 18 ExternalHostBindings();
19 virtual ~ExternalHostBindings() { 19 virtual ~ExternalHostBindings() {
(...skipping 21 matching lines...) Expand all
41 bool CreateMessageEvent(NPObject** message_event); 41 bool CreateMessageEvent(NPObject** message_event);
42 42
43 private: 43 private:
44 CppVariant on_message_handler_; 44 CppVariant on_message_handler_;
45 WebFrame* frame_; 45 WebFrame* frame_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(ExternalHostBindings); 47 DISALLOW_COPY_AND_ASSIGN(ExternalHostBindings);
48 }; 48 };
49 49
50 #endif // CHROME_RENDERER_EXTERNAL_HOST_BINDINGS_H_ 50 #endif // CHROME_RENDERER_EXTERNAL_HOST_BINDINGS_H_
OLDNEW
« no previous file with comments | « chrome/renderer/dom_ui_bindings.h ('k') | chrome/renderer/mock_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698