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

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: Few more fixes 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 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 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after
2365 int /* arb_robustness_status_code */) 2367 int /* arb_robustness_status_code */)
2366 2368
2367 #if defined(OS_WIN) 2369 #if defined(OS_WIN)
2368 // Request that the given font characters be loaded by the browser so it's 2370 // Request that the given font characters be loaded by the browser so it's
2369 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2371 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2370 // for details. 2372 // for details.
2371 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2373 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2372 LOGFONT /* font_data */, 2374 LOGFONT /* font_data */,
2373 string16 /* characters */) 2375 string16 /* characters */)
2374 #endif 2376 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698