| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
| 6 // header guard. | 6 // header guard. |
| 7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 13 | 13 |
| 14 #include "base/clipboard.h" | 14 #include "base/clipboard.h" |
| 15 #include "base/file_path.h" | 15 #include "base/file_path.h" |
| 16 #include "base/gfx/rect.h" | 16 #include "base/gfx/rect.h" |
| 17 #include "base/gfx/native_widget_types.h" | 17 #include "base/gfx/native_widget_types.h" |
| 18 #include "base/shared_memory.h" | 18 #include "base/shared_memory.h" |
| 19 #include "base/values.h" |
| 19 #include "chrome/common/ipc_message_macros.h" | 20 #include "chrome/common/ipc_message_macros.h" |
| 20 #include "chrome/common/transport_dib.h" | 21 #include "chrome/common/transport_dib.h" |
| 21 #include "third_party/skia/include/core/SkBitmap.h" | 22 #include "third_party/skia/include/core/SkBitmap.h" |
| 22 #include "webkit/glue/dom_operations.h" | 23 #include "webkit/glue/dom_operations.h" |
| 23 #include "webkit/glue/webappcachecontext.h" | 24 #include "webkit/glue/webappcachecontext.h" |
| 24 #include "webkit/glue/webcursor.h" | 25 #include "webkit/glue/webcursor.h" |
| 25 #include "webkit/glue/webplugin.h" | 26 #include "webkit/glue/webplugin.h" |
| 26 | 27 |
| 27 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes | 28 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes |
| 28 // more sense with our current design. | 29 // more sense with our current design. |
| (...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1386 // change as well. Takes the id of the accessibility object that now has | 1387 // change as well. Takes the id of the accessibility object that now has |
| 1387 // focus. | 1388 // focus. |
| 1388 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityFocusChange, | 1389 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityFocusChange, |
| 1389 int /* accessibility object id */) | 1390 int /* accessibility object id */) |
| 1390 | 1391 |
| 1391 //--------------------------------------------------------------------------- | 1392 //--------------------------------------------------------------------------- |
| 1392 // Utility process host messages: | 1393 // Utility process host messages: |
| 1393 // These are messages from the utility process to the browser. They're here | 1394 // These are messages from the utility process to the browser. They're here |
| 1394 // because we ran out of spare message types. | 1395 // because we ran out of spare message types. |
| 1395 | 1396 |
| 1396 // Reply when the utility process is done unpacking an extension. |success| | 1397 // Reply when the utility process is done unpacking an extension. |manifest| |
| 1397 // argument is true if the extension unpacked and verified successfully. | 1398 // is the parsed manifest.json file. |images| is a list of decoded images |
| 1398 IPC_MESSAGE_CONTROL2(UtilityHostMsg_UnpackExtension_Reply, | 1399 // and the path to where they should be written to, relative to the |
| 1399 bool /* success */, | 1400 // manifest file. |
| 1401 IPC_MESSAGE_CONTROL2(UtilityHostMsg_UnpackExtension_Succeeded, |
| 1402 DictionaryValue /* manifest */, |
| 1403 std::vector<UnpackExtension_ImagePathPair> /* images */) |
| 1404 |
| 1405 // Reply when the utility process has failed while unpacking an extension. |
| 1406 // |error_message| is a user-displayable explanation of what went wrong. |
| 1407 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed, |
| 1400 std::string /* error_message, if any */) | 1408 std::string /* error_message, if any */) |
| 1401 IPC_END_MESSAGES(ViewHost) | 1409 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |