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

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: Eliminate old methods in interface 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 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 1020
1021 // Set the zoom level for a particular url that the renderer is in the 1021 // Set the zoom level for a particular url that the renderer is in the
1022 // process of loading. This will be stored, to be used if the load commits 1022 // process of loading. This will be stored, to be used if the load commits
1023 // and ignored otherwise. 1023 // and ignored otherwise.
1024 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL, 1024 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL,
1025 GURL /* url */, 1025 GURL /* url */,
1026 double /* zoom_level */) 1026 double /* zoom_level */)
1027 1027
1028 // Set the zoom level for a particular url, so all render views 1028 // Set the zoom level for a particular url, so all render views
1029 // displaying this url can update their zoom levels to match. 1029 // displaying this url can update their zoom levels to match.
1030 IPC_MESSAGE_CONTROL2(ViewMsg_SetZoomLevelForCurrentURL, 1030 // If scheme is empty, then only host is used for matching.
1031 IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL,
1032 std::string /* scheme */,
1031 std::string /* host */, 1033 std::string /* host */,
1032 double /* zoom_level */) 1034 double /* zoom_level */)
1033 1035
1034 // Change encoding of page in the renderer. 1036 // Change encoding of page in the renderer.
1035 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, 1037 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding,
1036 std::string /*new encoding name*/) 1038 std::string /*new encoding name*/)
1037 1039
1038 // Reset encoding of page in the renderer back to default. 1040 // Reset encoding of page in the renderer back to default.
1039 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) 1041 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault)
1040 1042
(...skipping 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after
2374 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2376 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2375 // for details. 2377 // for details.
2376 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2378 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2377 LOGFONT /* font_data */, 2379 LOGFONT /* font_data */,
2378 string16 /* characters */) 2380 string16 /* characters */)
2379 #endif 2381 #endif
2380 2382
2381 // Notifies the browser that the frame with the given id was detached. 2383 // Notifies the browser that the frame with the given id was detached.
2382 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, 2384 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached,
2383 int64 /* frame_id */) 2385 int64 /* frame_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698