summaryrefslogtreecommitdiffstats
path: root/content/common/browser_plugin
diff options
context:
space:
mode:
authorlazyboy@chromium.org <lazyboy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-29 09:12:54 +0000
committerlazyboy@chromium.org <lazyboy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-29 09:12:54 +0000
commit5501d5df8ca868b214d6744b30409789c572b59d (patch)
treea3c926201a850984a71c6b95b8cc3ba452734eb9 /content/common/browser_plugin
parent3a98b39b0d98b8286c42e6fe486b7bcce9be53a3 (diff)
downloadchromium_src-5501d5df8ca868b214d6744b30409789c572b59d.zip
chromium_src-5501d5df8ca868b214d6744b30409789c572b59d.tar.gz
chromium_src-5501d5df8ca868b214d6744b30409789c572b59d.tar.bz2
Remove SW rendering path code from BrowserPlugin.
BUG=364560 Test=This changes the internals of rendering <webview> in chrome-apps. No noticeable changes should be observed. Review URL: https://codereview.chromium.org/251593004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266797 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/browser_plugin')
-rw-r--r--content/common/browser_plugin/browser_plugin_messages.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/content/common/browser_plugin/browser_plugin_messages.h b/content/common/browser_plugin/browser_plugin_messages.h
index d84f3b8..60d0a91 100644
--- a/content/common/browser_plugin/browser_plugin_messages.h
+++ b/content/common/browser_plugin/browser_plugin_messages.h
@@ -7,11 +7,8 @@
#include <string>
#include "base/basictypes.h"
-#include "base/memory/shared_memory.h"
#include "base/process/process.h"
#include "base/values.h"
-#include "cc/output/compositor_frame.h"
-#include "cc/output/compositor_frame_ack.h"
#include "content/common/content_export.h"
#include "content/common/content_param_traits.h"
#include "content/common/cursors/webcursor.h"
@@ -49,13 +46,6 @@ IPC_STRUCT_END()
IPC_STRUCT_BEGIN(BrowserPluginHostMsg_ResizeGuest_Params)
// Indicates whether the parameters have been populated or not.
IPC_STRUCT_MEMBER(bool, size_changed)
- // The sequence number used to uniquely identify the damage buffer for the
- // current container size.
- IPC_STRUCT_MEMBER(uint32, damage_buffer_sequence_id)
- // The handle to use to map the damage buffer in the browser process.
- IPC_STRUCT_MEMBER(base::SharedMemoryHandle, damage_buffer_handle)
- // The size of the damage buffer.
- IPC_STRUCT_MEMBER(size_t, damage_buffer_size)
// The new rect of the guest view area.
IPC_STRUCT_MEMBER(gfx::Rect, view_rect)
// Indicates the scale factor of the embedder WebView.
@@ -87,27 +77,6 @@ IPC_STRUCT_BEGIN(BrowserPluginMsg_Attach_ACK_Params)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params)
- // The sequence number of the damage buffer used by the browser process.
- IPC_STRUCT_MEMBER(uint32, damage_buffer_sequence_id)
-
- // The position and size of the bitmap.
- IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect)
-
- // The scroll delta. Only one of the delta components can be non-zero, and if
- // they are both zero, then it means there is no scrolling and the scroll_rect
- // is ignored.
- IPC_STRUCT_MEMBER(gfx::Vector2d, scroll_delta)
-
- // The rectangular region to scroll.
- IPC_STRUCT_MEMBER(gfx::Rect, scroll_rect)
-
- // The scroll offset of the render view.
- IPC_STRUCT_MEMBER(gfx::Point, scroll_offset)
-
- // The regions of the bitmap (in view coords) that contain updated pixels.
- // In the case of scrolling, this includes the scroll damage rect.
- IPC_STRUCT_MEMBER(std::vector<gfx::Rect>, copy_rects)
-
// The size of the RenderView when this message was generated. This is
// included so the host knows how large the view is from the perspective of
// the renderer process. This is necessary in case a resize operation is in
@@ -121,10 +90,6 @@ IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params)
// Is this UpdateRect an ACK to a resize request?
IPC_STRUCT_MEMBER(bool, is_resize_ack)
-
- // Used in HW accelerated case to switch between sending an UpdateRect_ACK
- // with the new size or just resizing.
- IPC_STRUCT_MEMBER(bool, needs_ack)
IPC_STRUCT_END()
// Browser plugin messages
@@ -202,15 +167,6 @@ IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_HandleInputEvent,
gfx::Rect /* guest_window_rect */,
IPC::WebInputEventPointer /* event */)
-// An ACK to the guest process letting it know that the embedder has handled
-// the previous frame and is ready for the next frame. If the guest sent the
-// embedder a bitmap that does not match the size of the BrowserPlugin's
-// container, the BrowserPlugin requests a new size as well.
-IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_UpdateRect_ACK,
- int /* instance_id */,
- BrowserPluginHostMsg_AutoSize_Params /* auto_size_params */,
- BrowserPluginHostMsg_ResizeGuest_Params /* resize_guest_params */)
-
// A BrowserPlugin sends this to BrowserPluginEmbedder (browser process) when it
// wants to navigate to a given src URL. If a guest WebContents already exists,
// it will navigate that WebContents. If not, it will create the WebContents,