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

Side by Side Diff: content/renderer/dom_automation_controller.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ 5 #ifndef CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_
6 #define CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ 6 #define CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_
7 #pragma once
8 7
9 #include "ipc/ipc_sender.h" 8 #include "ipc/ipc_sender.h"
10 #include "webkit/glue/cpp_bound_class.h" 9 #include "webkit/glue/cpp_bound_class.h"
11 10
12 /* DomAutomationController class: 11 /* DomAutomationController class:
13 Bound to Javascript window.domAutomationController object. 12 Bound to Javascript window.domAutomationController object.
14 At the very basic, this object makes any native value (string, numbers, 13 At the very basic, this object makes any native value (string, numbers,
15 boolean) from javascript available to the automation host in Cpp. 14 boolean) from javascript available to the automation host in Cpp.
16 Any renderer implementation that is built with this binding will allow the 15 Any renderer implementation that is built with this binding will allow the
17 above facility. 16 above facility.
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 115
117 private: 116 private:
118 IPC::Sender* sender_; 117 IPC::Sender* sender_;
119 118
120 // Refer to the comments at the top of the file for more details. 119 // Refer to the comments at the top of the file for more details.
121 int routing_id_; // routing id to be used by first channel. 120 int routing_id_; // routing id to be used by first channel.
122 int automation_id_; // routing id to be used by the next channel. 121 int automation_id_; // routing id to be used by the next channel.
123 }; 122 };
124 123
125 #endif // CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ 124 #endif // CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « content/renderer/devtools_client.h ('k') | content/renderer/dom_storage/dom_storage_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698