| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "base/process.h" | 8 #include "base/process.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "media/base/media_log_event.h" | 27 #include "media/base/media_log_event.h" |
| 28 #include "third_party/skia/include/core/SkBitmap.h" | 28 #include "third_party/skia/include/core/SkBitmap.h" |
| 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" | 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" |
| 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
| 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" | 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" |
| 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" | 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" |
| 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
| 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebReferrerPolicy.h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebReferrerPolicy.h" |
| 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" | 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" |
| 36 #include "ui/base/ime/text_input_type.h" | 36 #include "ui/base/ime/text_input_type.h" |
| 37 #include "ui/base/javascript_message_type.h" |
| 37 #include "ui/base/range/range.h" | 38 #include "ui/base/range/range.h" |
| 38 #include "ui/gfx/rect.h" | 39 #include "ui/gfx/rect.h" |
| 39 #include "webkit/glue/context_menu.h" | 40 #include "webkit/glue/context_menu.h" |
| 40 #include "webkit/glue/webcookie.h" | 41 #include "webkit/glue/webcookie.h" |
| 41 #include "webkit/glue/webmenuitem.h" | 42 #include "webkit/glue/webmenuitem.h" |
| 42 #include "webkit/glue/webpreferences.h" | 43 #include "webkit/glue/webpreferences.h" |
| 43 #include "webkit/glue/webaccessibility.h" | 44 #include "webkit/glue/webaccessibility.h" |
| 44 #include "webkit/plugins/npapi/webplugin.h" | 45 #include "webkit/plugins/npapi/webplugin.h" |
| 45 | 46 |
| 46 #if defined(OS_MACOSX) | 47 #if defined(OS_MACOSX) |
| (...skipping 16 matching lines...) Expand all Loading... |
| 63 IPC_ENUM_TRAITS(WebKit::WebTextDirection) | 64 IPC_ENUM_TRAITS(WebKit::WebTextDirection) |
| 64 IPC_ENUM_TRAITS(WebMenuItem::Type) | 65 IPC_ENUM_TRAITS(WebMenuItem::Type) |
| 65 IPC_ENUM_TRAITS(WindowContainerType) | 66 IPC_ENUM_TRAITS(WindowContainerType) |
| 66 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) | 67 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) |
| 67 IPC_ENUM_TRAITS(content::PageZoom) | 68 IPC_ENUM_TRAITS(content::PageZoom) |
| 68 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum) | 69 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum) |
| 69 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum) | 70 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum) |
| 70 IPC_ENUM_TRAITS(content::StopFindAction) | 71 IPC_ENUM_TRAITS(content::StopFindAction) |
| 71 IPC_ENUM_TRAITS(media::MediaLogEvent::Type) | 72 IPC_ENUM_TRAITS(media::MediaLogEvent::Type) |
| 72 IPC_ENUM_TRAITS(ui::TextInputType) | 73 IPC_ENUM_TRAITS(ui::TextInputType) |
| 74 IPC_ENUM_TRAITS(ui::JavascriptMessageType) |
| 73 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::BoolAttribute) | 75 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::BoolAttribute) |
| 74 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::FloatAttribute) | 76 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::FloatAttribute) |
| 75 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::IntAttribute) | 77 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::IntAttribute) |
| 76 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::Role) | 78 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::Role) |
| 77 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::State) | 79 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::State) |
| 78 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::StringAttribute) | 80 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::StringAttribute) |
| 79 | 81 |
| 80 IPC_STRUCT_TRAITS_BEGIN(ContextMenuParams) | 82 IPC_STRUCT_TRAITS_BEGIN(ContextMenuParams) |
| 81 IPC_STRUCT_TRAITS_MEMBER(media_type) | 83 IPC_STRUCT_TRAITS_MEMBER(media_type) |
| 82 IPC_STRUCT_TRAITS_MEMBER(x) | 84 IPC_STRUCT_TRAITS_MEMBER(x) |
| (...skipping 1492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1575 | 1577 |
| 1576 // Used to go to the session history entry at the given offset (ie, -1 will | 1578 // Used to go to the session history entry at the given offset (ie, -1 will |
| 1577 // return the "back" item). | 1579 // return the "back" item). |
| 1578 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, | 1580 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, |
| 1579 int /* offset (from current) of history item to get */) | 1581 int /* offset (from current) of history item to get */) |
| 1580 | 1582 |
| 1581 IPC_SYNC_MESSAGE_ROUTED4_2(ViewHostMsg_RunJavaScriptMessage, | 1583 IPC_SYNC_MESSAGE_ROUTED4_2(ViewHostMsg_RunJavaScriptMessage, |
| 1582 string16 /* in - alert message */, | 1584 string16 /* in - alert message */, |
| 1583 string16 /* in - default prompt */, | 1585 string16 /* in - default prompt */, |
| 1584 GURL /* in - originating page URL */, | 1586 GURL /* in - originating page URL */, |
| 1585 int /* in - dialog flags */, | 1587 ui::JavascriptMessageType /* in - type */, |
| 1586 bool /* out - success */, | 1588 bool /* out - success */, |
| 1587 string16 /* out - user_input field */) | 1589 string16 /* out - user_input field */) |
| 1588 | 1590 |
| 1589 // Requests that the given URL be opened in the specified manner. | 1591 // Requests that the given URL be opened in the specified manner. |
| 1590 IPC_MESSAGE_ROUTED4(ViewHostMsg_OpenURL, | 1592 IPC_MESSAGE_ROUTED4(ViewHostMsg_OpenURL, |
| 1591 GURL /* url */, | 1593 GURL /* url */, |
| 1592 content::Referrer /* referrer */, | 1594 content::Referrer /* referrer */, |
| 1593 WindowOpenDisposition /* disposition */, | 1595 WindowOpenDisposition /* disposition */, |
| 1594 int64 /* frame id */) | 1596 int64 /* frame id */) |
| 1595 | 1597 |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1950 media::MediaLogEvent /* event */) | 1952 media::MediaLogEvent /* event */) |
| 1951 | 1953 |
| 1952 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 1954 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
| 1953 // being sent back. | 1955 // being sent back. |
| 1954 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) | 1956 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
| 1955 | 1957 |
| 1956 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1958 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
| 1957 // whenever the mouse is unlocked (which may or may not be caused by | 1959 // whenever the mouse is unlocked (which may or may not be caused by |
| 1958 // ViewHostMsg_UnlockMouse). | 1960 // ViewHostMsg_UnlockMouse). |
| 1959 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1961 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
| OLD | NEW |