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

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

Issue 302603012: Zoom Extension API (content changes) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 6 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 | Annotate | Revision Log
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/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 double /* zoom_level */) 679 double /* zoom_level */)
680 680
681 // Set the zoom level for a particular url, so all render views 681 // Set the zoom level for a particular url, so all render views
682 // displaying this url can update their zoom levels to match. 682 // displaying this url can update their zoom levels to match.
683 // If scheme is empty, then only host is used for matching. 683 // If scheme is empty, then only host is used for matching.
684 IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL, 684 IPC_MESSAGE_CONTROL3(ViewMsg_SetZoomLevelForCurrentURL,
685 std::string /* scheme */, 685 std::string /* scheme */,
686 std::string /* host */, 686 std::string /* host */,
687 double /* zoom_level */) 687 double /* zoom_level */)
688 688
689 // Set the zoom level for a particular render view.
690 IPC_MESSAGE_ROUTED2(ViewMsg_SetZoomLevelForView,
691 bool /* uses_temporary_zoom_level */,
692 double /* zoom_level */)
693
689 // Change encoding of page in the renderer. 694 // Change encoding of page in the renderer.
690 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, 695 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding,
691 std::string /*new encoding name*/) 696 std::string /*new encoding name*/)
692 697
693 // Reset encoding of page in the renderer back to default. 698 // Reset encoding of page in the renderer back to default.
694 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault) 699 IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageEncodingToDefault)
695 700
696 // Used to tell a render view whether it should expose various bindings 701 // Used to tell a render view whether it should expose various bindings
697 // that allow JS content extended privileges. See BindingsPolicy for valid 702 // that allow JS content extended privileges. See BindingsPolicy for valid
698 // flag values. 703 // flag values.
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after
1714 // synchronously (see crbug.com/120597). This IPC message sends the character 1719 // synchronously (see crbug.com/120597). This IPC message sends the character
1715 // bounds after every composition change to always have correct bound info. 1720 // bounds after every composition change to always have correct bound info.
1716 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1721 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1717 gfx::Range /* composition range */, 1722 gfx::Range /* composition range */,
1718 std::vector<gfx::Rect> /* character bounds */) 1723 std::vector<gfx::Rect> /* character bounds */)
1719 #endif 1724 #endif
1720 1725
1721 // Adding a new message? Stick to the sort order above: first platform 1726 // Adding a new message? Stick to the sort order above: first platform
1722 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1727 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1723 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1728 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698