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

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

Issue 11554030: <webview>: Add name attribute (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT Created 7 years, 11 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/string16.h" 10 #include "base/string16.h"
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 686
687 // The properties of the screen associated with the view. 687 // The properties of the screen associated with the view.
688 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) 688 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info)
689 689
690 // The accessibility mode of the renderer. 690 // The accessibility mode of the renderer.
691 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) 691 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode)
692 IPC_STRUCT_END() 692 IPC_STRUCT_END()
693 693
694 // Messages sent from the browser to the renderer. 694 // Messages sent from the browser to the renderer.
695 695
696 // Set the top-level frame to the provided name.
697 IPC_MESSAGE_ROUTED1(ViewMsg_SetName,
698 std::string /* frame_name */)
699
696 // Sent to the RenderView when a new tab is swapped into an existing 700 // Sent to the RenderView when a new tab is swapped into an existing
697 // tab and the histories need to be merged. The existing tab has a history of 701 // tab and the histories need to be merged. The existing tab has a history of
698 // |merged_history_length| which precedes the history of the new tab. All 702 // |merged_history_length| which precedes the history of the new tab. All
699 // page_ids >= |minimum_page_id| in the new tab are appended to the history. 703 // page_ids >= |minimum_page_id| in the new tab are appended to the history.
700 // 704 //
701 // For example, suppose the history of page_ids in the new tab's RenderView 705 // For example, suppose the history of page_ids in the new tab's RenderView
702 // is [4 7 8]. This is merged into an existing tab with 3 history items, and 706 // is [4 7 8]. This is merged into an existing tab with 3 history items, and
703 // all pages in the new tab with page_id >= 7 are to be preserved. 707 // all pages in the new tab with page_id >= 7 are to be preserved.
704 // The resulting page history is [-1 -1 -1 7 8]. 708 // The resulting page history is [-1 -1 -1 7 8].
705 IPC_MESSAGE_ROUTED2(ViewMsg_SetHistoryLengthAndPrune, 709 IPC_MESSAGE_ROUTED2(ViewMsg_SetHistoryLengthAndPrune,
(...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after
2044 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateZoomLimits, 2048 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateZoomLimits,
2045 int /* minimum_percent */, 2049 int /* minimum_percent */,
2046 int /* maximum_percent */, 2050 int /* maximum_percent */,
2047 bool /* remember */) 2051 bool /* remember */)
2048 2052
2049 // Notify the browser that this render process can or can't be suddenly 2053 // Notify the browser that this render process can or can't be suddenly
2050 // terminated. 2054 // terminated.
2051 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, 2055 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged,
2052 bool /* enabled */) 2056 bool /* enabled */)
2053 2057
2058 // Informs the browser of updated frame names.
2059 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateFrameName,
2060 int /* frame_id */,
2061 bool /* is_top_level */,
2062 std::string /* name */)
2063
2054 #if defined(OS_MACOSX) 2064 #if defined(OS_MACOSX)
2055 // Request that the browser load a font into shared memory for us. 2065 // Request that the browser load a font into shared memory for us.
2056 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, 2066 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont,
2057 FontDescriptor /* font to load */, 2067 FontDescriptor /* font to load */,
2058 uint32 /* buffer size */, 2068 uint32 /* buffer size */,
2059 base::SharedMemoryHandle /* font data */, 2069 base::SharedMemoryHandle /* font data */,
2060 uint32 /* font id */) 2070 uint32 /* font id */)
2061 2071
2062 // On OSX, we cannot allocated shared memory from within the sandbox, so 2072 // On OSX, we cannot allocated shared memory from within the sandbox, so
2063 // this call exists for the renderer to ask the browser to allocate memory 2073 // this call exists for the renderer to ask the browser to allocate memory
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
2354 int /* arb_robustness_status_code */) 2364 int /* arb_robustness_status_code */)
2355 2365
2356 #if defined(OS_WIN) 2366 #if defined(OS_WIN)
2357 // Request that the given font characters be loaded by the browser so it's 2367 // Request that the given font characters be loaded by the browser so it's
2358 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2368 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2359 // for details. 2369 // for details.
2360 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2370 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2361 LOGFONT /* font_data */, 2371 LOGFONT /* font_data */,
2362 string16 /* characters */) 2372 string16 /* characters */)
2363 #endif 2373 #endif
OLDNEW
« no previous file with comments | « content/common/browser_plugin_messages.h ('k') | content/renderer/browser_plugin/browser_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698