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

Side by Side Diff: content/common/view_messages.h

Issue 7136001: GPU compositing surface handle is no longer sent to renderer process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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) 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/common_param_traits.h" 10 #include "content/common/common_param_traits.h"
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 IPC_STRUCT_MEMBER(base::Time, request_time) 694 IPC_STRUCT_MEMBER(base::Time, request_time)
695 695
696 // Extra headers (separated by \n) to send during the request. 696 // Extra headers (separated by \n) to send during the request.
697 IPC_STRUCT_MEMBER(std::string, extra_headers) 697 IPC_STRUCT_MEMBER(std::string, extra_headers)
698 IPC_STRUCT_END() 698 IPC_STRUCT_END()
699 699
700 IPC_STRUCT_BEGIN(ViewMsg_New_Params) 700 IPC_STRUCT_BEGIN(ViewMsg_New_Params)
701 // The parent window's id. 701 // The parent window's id.
702 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) 702 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window)
703 703
704 // Surface for accelerated rendering.
705 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, compositing_surface)
706
707 // Renderer-wide preferences. 704 // Renderer-wide preferences.
708 IPC_STRUCT_MEMBER(RendererPreferences, renderer_preferences) 705 IPC_STRUCT_MEMBER(RendererPreferences, renderer_preferences)
709 706
710 // Preferences for this view. 707 // Preferences for this view.
711 IPC_STRUCT_MEMBER(WebPreferences, web_preferences) 708 IPC_STRUCT_MEMBER(WebPreferences, web_preferences)
712 709
713 // The ID of the view to be created. 710 // The ID of the view to be created.
714 IPC_STRUCT_MEMBER(int32, view_id) 711 IPC_STRUCT_MEMBER(int32, view_id)
715 712
716 // The session storage namespace ID this view should use. 713 // The session storage namespace ID this view should use.
(...skipping 27 matching lines...) Expand all
744 // Tells the renderer to create a new view. 741 // Tells the renderer to create a new view.
745 // This message is slightly different, the view it takes (via 742 // This message is slightly different, the view it takes (via
746 // ViewMsg_New_Params) is the view to create, the message itself is sent as a 743 // ViewMsg_New_Params) is the view to create, the message itself is sent as a
747 // non-view control message. 744 // non-view control message.
748 IPC_MESSAGE_CONTROL1(ViewMsg_New, 745 IPC_MESSAGE_CONTROL1(ViewMsg_New,
749 ViewMsg_New_Params) 746 ViewMsg_New_Params)
750 747
751 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. 748 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget.
752 // similar to the new command, but used when the renderer created a view 749 // similar to the new command, but used when the renderer created a view
753 // first, and we need to update it. 750 // first, and we need to update it.
754 IPC_MESSAGE_ROUTED2(ViewMsg_CreatingNew_ACK, 751 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK,
755 gfx::NativeViewId /* parent_hwnd */, 752 gfx::NativeViewId /* parent_hwnd */)
756 gfx::PluginWindowHandle /* compositing_surface */)
757 753
758 // Sends updated preferences to the renderer. 754 // Sends updated preferences to the renderer.
759 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, 755 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs,
760 RendererPreferences) 756 RendererPreferences)
761 757
762 // This passes a set of webkit preferences down to the renderer. 758 // This passes a set of webkit preferences down to the renderer.
763 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, 759 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences,
764 WebPreferences) 760 WebPreferences)
765 761
766 // Tells the render view to close. 762 // Tells the render view to close.
(...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after
1956 1952
1957 // Send back a string to be recorded by UserMetrics. 1953 // Send back a string to be recorded by UserMetrics.
1958 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 1954 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
1959 std::string /* action */) 1955 std::string /* action */)
1960 1956
1961 // Provide the browser process with current renderer framerate. 1957 // Provide the browser process with current renderer framerate.
1962 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, 1958 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS,
1963 int /* routing id */, 1959 int /* routing id */,
1964 float /* frames per second */) 1960 float /* frames per second */)
1965 1961
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698