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

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

Issue 274453002: Remove RenderWidget::SetBackground, change IPC to pass a bool. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | 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 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 IPC_MESSAGE_ROUTED1(ViewMsg_DisableAutoResize, 812 IPC_MESSAGE_ROUTED1(ViewMsg_DisableAutoResize,
813 gfx::Size /* new_size */) 813 gfx::Size /* new_size */)
814 814
815 // Changes the text direction of the currently selected input field (if any). 815 // Changes the text direction of the currently selected input field (if any).
816 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, 816 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection,
817 blink::WebTextDirection /* direction */) 817 blink::WebTextDirection /* direction */)
818 818
819 // Tells the renderer to clear the focused element (if any). 819 // Tells the renderer to clear the focused element (if any).
820 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedElement) 820 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedElement)
821 821
822 // Make the RenderView transparent and render it onto a custom background. The 822 // Make the RenderView background transparent or opaque.
823 // background will be tiled in both directions if it is not large enough. 823 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackgroundOpaque,
824 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackground, 824 bool /* opaque */)
825 SkBitmap /* background */)
826 825
827 // Used to tell the renderer not to add scrollbars with height and 826 // Used to tell the renderer not to add scrollbars with height and
828 // width below a threshold. 827 // width below a threshold.
829 IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows, 828 IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows,
830 gfx::Size /* disable_scrollbar_size_limit */) 829 gfx::Size /* disable_scrollbar_size_limit */)
831 830
832 // Activate/deactivate the RenderView (i.e., set its controls' tint 831 // Activate/deactivate the RenderView (i.e., set its controls' tint
833 // accordingly, etc.). 832 // accordingly, etc.).
834 IPC_MESSAGE_ROUTED1(ViewMsg_SetActive, 833 IPC_MESSAGE_ROUTED1(ViewMsg_SetActive,
835 bool /* active */) 834 bool /* active */)
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
1777 // synchronously (see crbug.com/120597). This IPC message sends the character 1776 // synchronously (see crbug.com/120597). This IPC message sends the character
1778 // bounds after every composition change to always have correct bound info. 1777 // bounds after every composition change to always have correct bound info.
1779 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1778 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1780 gfx::Range /* composition range */, 1779 gfx::Range /* composition range */,
1781 std::vector<gfx::Rect> /* character bounds */) 1780 std::vector<gfx::Rect> /* character bounds */)
1782 #endif 1781 #endif
1783 1782
1784 // Adding a new message? Stick to the sort order above: first platform 1783 // Adding a new message? Stick to the sort order above: first platform
1785 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1784 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1786 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1785 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698