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

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
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/renderer/gpu/gpu_channel_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 IPC_STRUCT_MEMBER(base::Time, request_time) 695 IPC_STRUCT_MEMBER(base::Time, request_time)
696 696
697 // Extra headers (separated by \n) to send during the request. 697 // Extra headers (separated by \n) to send during the request.
698 IPC_STRUCT_MEMBER(std::string, extra_headers) 698 IPC_STRUCT_MEMBER(std::string, extra_headers)
699 IPC_STRUCT_END() 699 IPC_STRUCT_END()
700 700
701 IPC_STRUCT_BEGIN(ViewMsg_New_Params) 701 IPC_STRUCT_BEGIN(ViewMsg_New_Params)
702 // The parent window's id. 702 // The parent window's id.
703 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) 703 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window)
704 704
705 // Surface for accelerated rendering.
706 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, compositing_surface)
707
708 // Renderer-wide preferences. 705 // Renderer-wide preferences.
709 IPC_STRUCT_MEMBER(RendererPreferences, renderer_preferences) 706 IPC_STRUCT_MEMBER(RendererPreferences, renderer_preferences)
710 707
711 // Preferences for this view. 708 // Preferences for this view.
712 IPC_STRUCT_MEMBER(WebPreferences, web_preferences) 709 IPC_STRUCT_MEMBER(WebPreferences, web_preferences)
713 710
714 // The ID of the view to be created. 711 // The ID of the view to be created.
715 IPC_STRUCT_MEMBER(int32, view_id) 712 IPC_STRUCT_MEMBER(int32, view_id)
716 713
717 // The session storage namespace ID this view should use. 714 // The session storage namespace ID this view should use.
(...skipping 27 matching lines...) Expand all
745 // Tells the renderer to create a new view. 742 // Tells the renderer to create a new view.
746 // This message is slightly different, the view it takes (via 743 // This message is slightly different, the view it takes (via
747 // ViewMsg_New_Params) is the view to create, the message itself is sent as a 744 // ViewMsg_New_Params) is the view to create, the message itself is sent as a
748 // non-view control message. 745 // non-view control message.
749 IPC_MESSAGE_CONTROL1(ViewMsg_New, 746 IPC_MESSAGE_CONTROL1(ViewMsg_New,
750 ViewMsg_New_Params) 747 ViewMsg_New_Params)
751 748
752 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. 749 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget.
753 // similar to the new command, but used when the renderer created a view 750 // similar to the new command, but used when the renderer created a view
754 // first, and we need to update it. 751 // first, and we need to update it.
755 IPC_MESSAGE_ROUTED2(ViewMsg_CreatingNew_ACK, 752 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK,
756 gfx::NativeViewId /* parent_hwnd */, 753 gfx::NativeViewId /* parent_hwnd */)
757 gfx::PluginWindowHandle /* compositing_surface */)
758 754
759 // Sends updated preferences to the renderer. 755 // Sends updated preferences to the renderer.
760 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, 756 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs,
761 RendererPreferences) 757 RendererPreferences)
762 758
763 // This passes a set of webkit preferences down to the renderer. 759 // This passes a set of webkit preferences down to the renderer.
764 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, 760 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences,
765 WebPreferences) 761 WebPreferences)
766 762
767 // Tells the render view to close. 763 // Tells the render view to close.
(...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after
1957 std::string /* value */) 1953 std::string /* value */)
1958 1954
1959 // Send back a string to be recorded by UserMetrics. 1955 // Send back a string to be recorded by UserMetrics.
1960 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 1956 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
1961 std::string /* action */) 1957 std::string /* action */)
1962 1958
1963 // Provide the browser process with current renderer framerate. 1959 // Provide the browser process with current renderer framerate.
1964 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, 1960 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS,
1965 int /* routing id */, 1961 int /* routing id */,
1966 float /* frames per second */) 1962 float /* frames per second */)
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/renderer/gpu/gpu_channel_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698