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

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: 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
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 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 1015
1016 // Set the zoom level for a particular url that the renderer is in the 1016 // Set the zoom level for a particular url that the renderer is in the
1017 // process of loading. This will be stored, to be used if the load commits 1017 // process of loading. This will be stored, to be used if the load commits
1018 // and ignored otherwise. 1018 // and ignored otherwise.
1019 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL, 1019 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL,
1020 GURL /* url */, 1020 GURL /* url */,
1021 double /* zoom_level */) 1021 double /* zoom_level */)
1022 1022
1023 // Set the zoom level for a particular url, so all render views 1023 // Set the zoom level for a particular url, so all render views
1024 // displaying this url can update their zoom levels to match. 1024 // displaying this url can update their zoom levels to match.
1025 IPC_MESSAGE_CONTROL2(ViewMsg_SetZoomLevelForCurrentURL, 1025 // If scheme is empty, then only host is used for matching.
1026 IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL,
1027 std::string /* scheme */,
1026 std::string /* host */, 1028 std::string /* host */,
1027 double /* zoom_level */) 1029 double /* zoom_level */)
1028 1030
1029 // Change encoding of page in the renderer. 1031 // Change encoding of page in the renderer.
1030 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, 1032 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding,
1031 std::string /*new encoding name*/) 1033 std::string /*new encoding name*/)
1032 1034
1033 // Reset encoding of page in the renderer back to default. 1035 // Reset encoding of page in the renderer back to default.
1034 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) 1036 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault)
1035 1037
(...skipping 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after
2369 int /* arb_robustness_status_code */) 2371 int /* arb_robustness_status_code */)
2370 2372
2371 #if defined(OS_WIN) 2373 #if defined(OS_WIN)
2372 // Request that the given font characters be loaded by the browser so it's 2374 // Request that the given font characters be loaded by the browser so it's
2373 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2375 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2374 // for details. 2376 // for details.
2375 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2377 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2376 LOGFONT /* font_data */, 2378 LOGFONT /* font_data */,
2377 string16 /* characters */) 2379 string16 /* characters */)
2378 #endif 2380 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698