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

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

Issue 6840060: Progress towards fixing 77536 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years, 8 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 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 IPC_STRUCT_MEMBER(base::Time, request_time) 693 IPC_STRUCT_MEMBER(base::Time, request_time)
694 694
695 // Extra headers (separated by \n) to send during the request. 695 // Extra headers (separated by \n) to send during the request.
696 IPC_STRUCT_MEMBER(std::string, extra_headers) 696 IPC_STRUCT_MEMBER(std::string, extra_headers)
697 IPC_STRUCT_END() 697 IPC_STRUCT_END()
698 698
699 IPC_STRUCT_BEGIN(ViewMsg_New_Params) 699 IPC_STRUCT_BEGIN(ViewMsg_New_Params)
700 // The parent window's id. 700 // The parent window's id.
701 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window) 701 IPC_STRUCT_MEMBER(gfx::NativeViewId, parent_window)
702 702
703 // Surface for accelerated rendering.
704 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, compositing_surface)
705
703 // Renderer-wide preferences. 706 // Renderer-wide preferences.
704 IPC_STRUCT_MEMBER(RendererPreferences, renderer_preferences) 707 IPC_STRUCT_MEMBER(RendererPreferences, renderer_preferences)
705 708
706 // Preferences for this view. 709 // Preferences for this view.
707 IPC_STRUCT_MEMBER(WebPreferences, web_preferences) 710 IPC_STRUCT_MEMBER(WebPreferences, web_preferences)
708 711
709 // The ID of the view to be created. 712 // The ID of the view to be created.
710 IPC_STRUCT_MEMBER(int32, view_id) 713 IPC_STRUCT_MEMBER(int32, view_id)
711 714
712 // The session storage namespace ID this view should use. 715 // The session storage namespace ID this view should use.
(...skipping 27 matching lines...) Expand all
740 // Tells the renderer to create a new view. 743 // Tells the renderer to create a new view.
741 // This message is slightly different, the view it takes (via 744 // This message is slightly different, the view it takes (via
742 // ViewMsg_New_Params) is the view to create, the message itself is sent as a 745 // ViewMsg_New_Params) is the view to create, the message itself is sent as a
743 // non-view control message. 746 // non-view control message.
744 IPC_MESSAGE_CONTROL1(ViewMsg_New, 747 IPC_MESSAGE_CONTROL1(ViewMsg_New,
745 ViewMsg_New_Params) 748 ViewMsg_New_Params)
746 749
747 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. 750 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget.
748 // similar to the new command, but used when the renderer created a view 751 // similar to the new command, but used when the renderer created a view
749 // first, and we need to update it. 752 // first, and we need to update it.
750 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK, 753 IPC_MESSAGE_ROUTED2(ViewMsg_CreatingNew_ACK,
751 gfx::NativeViewId /* parent_hwnd */) 754 gfx::NativeViewId /* parent_hwnd */,
755 gfx::PluginWindowHandle /* compositing_surface */)
752 756
753 // Sends updated preferences to the renderer. 757 // Sends updated preferences to the renderer.
754 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, 758 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs,
755 RendererPreferences) 759 RendererPreferences)
756 760
757 // This passes a set of webkit preferences down to the renderer. 761 // This passes a set of webkit preferences down to the renderer.
758 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, 762 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences,
759 WebPreferences) 763 WebPreferences)
760 764
761 // Tells the render view to close. 765 // Tells the render view to close.
(...skipping 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1893 // enable or disable spdy. Used for debugging/testing/benchmarking. 1897 // enable or disable spdy. Used for debugging/testing/benchmarking.
1894 IPC_MESSAGE_CONTROL1(ViewHostMsg_EnableSpdy, 1898 IPC_MESSAGE_CONTROL1(ViewHostMsg_EnableSpdy,
1895 bool /* enable */) 1899 bool /* enable */)
1896 1900
1897 // Message sent from the renderer to the browser to request that the browser 1901 // Message sent from the renderer to the browser to request that the browser
1898 // cache |data| associated with |url|. 1902 // cache |data| associated with |url|.
1899 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, 1903 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata,
1900 GURL /* url */, 1904 GURL /* url */,
1901 double /* expected_response_time */, 1905 double /* expected_response_time */,
1902 std::vector<char> /* data */) 1906 std::vector<char> /* data */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698