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

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

Issue 190693002: Migrate Telemetry from beginWindowSnapshotPNG to Page.captureScreenshot (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 877
878 // Change the accessibility mode in the renderer process. 878 // Change the accessibility mode in the renderer process.
879 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode, 879 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode,
880 AccessibilityMode) 880 AccessibilityMode)
881 881
882 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer 882 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer
883 // process to release the magnified image. 883 // process to release the magnified image.
884 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap, 884 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap,
885 cc::SharedBitmapId /* id */) 885 cc::SharedBitmapId /* id */)
886 886
887 // Notifies the renderer that a snapshot has been retrieved.
888 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted,
889 int /* snapshot_id */,
890 gfx::Size /* size */,
891 std::vector<unsigned char> /* png */)
892
893 #if defined(OS_MACOSX) 887 #if defined(OS_MACOSX)
894 IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::ScrollerStyleOverlay); 888 IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::ScrollerStyleOverlay);
895 889
896 // Notification of a change in scrollbar appearance and/or behavior. 890 // Notification of a change in scrollbar appearance and/or behavior.
897 IPC_MESSAGE_CONTROL5(ViewMsg_UpdateScrollbarTheme, 891 IPC_MESSAGE_CONTROL5(ViewMsg_UpdateScrollbarTheme,
898 float /* initial_button_delay */, 892 float /* initial_button_delay */,
899 float /* autoscroll_button_delay */, 893 float /* autoscroll_button_delay */,
900 bool /* jump_on_track_click */, 894 bool /* jump_on_track_click */,
901 blink::ScrollerStyle /* preferred_scroller_style */, 895 blink::ScrollerStyle /* preferred_scroller_style */,
902 bool /* redraw */) 896 bool /* redraw */)
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 cc::CompositorFrameAck /* ack */) 972 cc::CompositorFrameAck /* ack */)
979 973
980 // Sent by browser to tell renderer compositor that some resources that were 974 // Sent by browser to tell renderer compositor that some resources that were
981 // given to the browser in a swap are not being used anymore. 975 // given to the browser in a swap are not being used anymore.
982 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, 976 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources,
983 uint32 /* output_surface_id */, 977 uint32 /* output_surface_id */,
984 cc::CompositorFrameAck /* ack */) 978 cc::CompositorFrameAck /* ack */)
985 979
986 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) 980 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret)
987 981
982 // Sent by the browser to ask the renderer to redraw.
983 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw,
984 int /* request_id */)
985
988 // ----------------------------------------------------------------------------- 986 // -----------------------------------------------------------------------------
989 // Messages sent from the renderer to the browser. 987 // Messages sent from the renderer to the browser.
990 988
991 // Sent by the renderer when it is creating a new window. The browser creates 989 // Sent by the renderer when it is creating a new window. The browser creates
992 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 990 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
993 // MSG_ROUTING_NONE, the view couldn't be created. 991 // MSG_ROUTING_NONE, the view couldn't be created.
994 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow, 992 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow,
995 ViewHostMsg_CreateWindow_Params, 993 ViewHostMsg_CreateWindow_Params,
996 int /* route_id */, 994 int /* route_id */,
997 int /* main_frame_route_id */, 995 int /* main_frame_route_id */,
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
1733 // synchronously (see crbug.com/120597). This IPC message sends the character 1731 // synchronously (see crbug.com/120597). This IPC message sends the character
1734 // bounds after every composition change to always have correct bound info. 1732 // bounds after every composition change to always have correct bound info.
1735 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1733 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1736 gfx::Range /* composition range */, 1734 gfx::Range /* composition range */,
1737 std::vector<gfx::Rect> /* character bounds */) 1735 std::vector<gfx::Rect> /* character bounds */)
1738 #endif 1736 #endif
1739 1737
1740 // Adding a new message? Stick to the sort order above: first platform 1738 // Adding a new message? Stick to the sort order above: first platform
1741 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1739 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1742 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1740 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/public/browser/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698