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

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

Issue 2020633003: Revert of Add FrameHost mojo service (patchset #23 id:490001 of https://codereview.chromium.org/196… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 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
« no previous file with comments | « content/common/frame_host.mojom ('k') | content/content_common_mojo_bindings.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 654
655 // Sets the page scale for the current main frame to the given page scale. 655 // Sets the page scale for the current main frame to the given page scale.
656 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageScale, float /* page_scale_factor */) 656 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageScale, float /* page_scale_factor */)
657 657
658 // Change the zoom level for the current main frame. If the level actually 658 // Change the zoom level for the current main frame. If the level actually
659 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser 659 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser
660 // telling it what url got zoomed and what its current zoom level is. 660 // telling it what url got zoomed and what its current zoom level is.
661 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, 661 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom,
662 content::PageZoom /* function */) 662 content::PageZoom /* function */)
663 663
664 // Set the zoom level for a particular url that the renderer is in the
665 // process of loading. This will be stored, to be used if the load commits
666 // and ignored otherwise.
667 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForLoadingURL,
668 GURL /* url */,
669 double /* zoom_level */)
670
664 // Change encoding of page in the renderer. 671 // Change encoding of page in the renderer.
665 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, 672 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding,
666 std::string /*new encoding name*/) 673 std::string /*new encoding name*/)
667 674
668 // Reset encoding of page in the renderer back to default. 675 // Reset encoding of page in the renderer back to default.
669 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) 676 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault)
670 677
671 // Used to tell a render view whether it should expose various bindings 678 // Used to tell a render view whether it should expose various bindings
672 // that allow JS content extended privileges. See BindingsPolicy for valid 679 // that allow JS content extended privileges. See BindingsPolicy for valid
673 // flag values. 680 // flag values.
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
1240 int /* y */) 1247 int /* y */)
1241 1248
1242 #elif defined(OS_MACOSX) 1249 #elif defined(OS_MACOSX)
1243 // Receives content of a web page as plain text. 1250 // Receives content of a web page as plain text.
1244 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 1251 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
1245 #endif 1252 #endif
1246 1253
1247 // Adding a new message? Stick to the sort order above: first platform 1254 // Adding a new message? Stick to the sort order above: first platform
1248 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1255 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1249 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1256 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/frame_host.mojom ('k') | content/content_common_mojo_bindings.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698