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

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

Issue 1964273002: Add FrameHost mojo service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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
671 // Change encoding of page in the renderer. 664 // Change encoding of page in the renderer.
672 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, 665 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding,
673 std::string /*new encoding name*/) 666 std::string /*new encoding name*/)
674 667
675 // Reset encoding of page in the renderer back to default. 668 // Reset encoding of page in the renderer back to default.
676 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) 669 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault)
677 670
678 // Used to tell a render view whether it should expose various bindings 671 // Used to tell a render view whether it should expose various bindings
679 // that allow JS content extended privileges. See BindingsPolicy for valid 672 // that allow JS content extended privileges. See BindingsPolicy for valid
680 // flag values. 673 // flag values.
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
1247 int /* y */) 1240 int /* y */)
1248 1241
1249 #elif defined(OS_MACOSX) 1242 #elif defined(OS_MACOSX)
1250 // Receives content of a web page as plain text. 1243 // Receives content of a web page as plain text.
1251 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 1244 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
1252 #endif 1245 #endif
1253 1246
1254 // Adding a new message? Stick to the sort order above: first platform 1247 // Adding a new message? Stick to the sort order above: first platform
1255 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1248 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1256 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1249 // 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