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

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

Issue 11866004: Add scheme to HostZoomMap (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix alignment, add comment Created 7 years, 10 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
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 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 1041
1042 // Set the zoom level for a particular url that the renderer is in the 1042 // Set the zoom level for a particular url that the renderer is in the
1043 // process of loading. This will be stored, to be used if the load commits 1043 // process of loading. This will be stored, to be used if the load commits
1044 // and ignored otherwise. 1044 // and ignored otherwise.
1045 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL, 1045 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL,
1046 GURL /* url */, 1046 GURL /* url */,
1047 double /* zoom_level */) 1047 double /* zoom_level */)
1048 1048
1049 // Set the zoom level for a particular url, so all render views 1049 // Set the zoom level for a particular url, so all render views
1050 // displaying this url can update their zoom levels to match. 1050 // displaying this url can update their zoom levels to match.
1051 IPC_MESSAGE_CONTROL2(ViewMsg_SetZoomLevelForCurrentURL, 1051 // If scheme is empty, then only host is used for matching.
1052 IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL,
1053 std::string /* scheme */,
1052 std::string /* host */, 1054 std::string /* host */,
1053 double /* zoom_level */) 1055 double /* zoom_level */)
1054 1056
1055 // Change encoding of page in the renderer. 1057 // Change encoding of page in the renderer.
1056 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, 1058 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding,
1057 std::string /*new encoding name*/) 1059 std::string /*new encoding name*/)
1058 1060
1059 // Reset encoding of page in the renderer back to default. 1061 // Reset encoding of page in the renderer back to default.
1060 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) 1062 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault)
1061 1063
(...skipping 1335 matching lines...) Expand 10 before | Expand all | Expand 10 after
2397 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2399 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2398 // for details. 2400 // for details.
2399 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2401 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2400 LOGFONT /* font_data */, 2402 LOGFONT /* font_data */,
2401 string16 /* characters */) 2403 string16 /* characters */)
2402 #endif 2404 #endif
2403 2405
2404 // Notifies the browser that the frame with the given id was detached. 2406 // Notifies the browser that the frame with the given id was detached.
2405 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, 2407 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached,
2406 int64 /* frame_id */) 2408 int64 /* frame_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698