OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include <map> | 5 #include <map> |
6 #include <set> | 6 #include <set> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 2611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2622 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the | 2622 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the |
2623 // script as it's only element, one of Null, Boolean, Integer, Real, Date, or | 2623 // script as it's only element, one of Null, Boolean, Integer, Real, Date, or |
2624 // String. | 2624 // String. |
2625 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse, | 2625 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse, |
2626 int /* id */, | 2626 int /* id */, |
2627 ListValue /* result */) | 2627 ListValue /* result */) |
2628 | 2628 |
2629 // Updates the content restrictions, i.e. to disable print/copy. | 2629 // Updates the content restrictions, i.e. to disable print/copy. |
2630 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, | 2630 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, |
2631 int /* restrictions */) | 2631 int /* restrictions */) |
| 2632 |
| 2633 // Message sent from renderer to the browser to update the state of a command. |
| 2634 // The |state| parameter specifies the unchecked, checked, and mixed state of |
| 2635 // the command. |
| 2636 IPC_MESSAGE_ROUTED3(ViewHostMsg_CommandStateChanged, |
| 2637 std::string /* command_name */, |
| 2638 bool /* is_enabled */, |
| 2639 int /* checked_state */) |
OLD | NEW |