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

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

Issue 2812743002: Revert of Keep track in the browser of which frames have onunload and onbeforeunload handlers. (Closed)
Patch Set: manual merge Created 3 years, 8 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 interacting with frames. 5 // IPC messages for interacting with frames.
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 1593 matching lines...) Expand 10 before | Expand all | Expand 10 after
1604 int /* active_match_ordinal */, 1604 int /* active_match_ordinal */,
1605 bool /* final_update */) 1605 bool /* final_update */)
1606 1606
1607 // Sends hittesting data needed to perform hittesting on the browser process. 1607 // Sends hittesting data needed to perform hittesting on the browser process.
1608 IPC_MESSAGE_ROUTED1(FrameHostMsg_HittestData, FrameHostMsg_HittestData_Params) 1608 IPC_MESSAGE_ROUTED1(FrameHostMsg_HittestData, FrameHostMsg_HittestData_Params)
1609 1609
1610 // Asks the browser to display the file chooser. The result is returned in a 1610 // Asks the browser to display the file chooser. The result is returned in a
1611 // FrameMsg_RunFileChooserResponse message. 1611 // FrameMsg_RunFileChooserResponse message.
1612 IPC_MESSAGE_ROUTED1(FrameHostMsg_RunFileChooser, content::FileChooserParams) 1612 IPC_MESSAGE_ROUTED1(FrameHostMsg_RunFileChooser, content::FileChooserParams)
1613 1613
1614 // Messages to signal the presence or absence of BeforeUnload or Unload handlers
1615 // for a frame. |present| is true if there is at least one of the handlers for
1616 // the frame.
1617 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeforeUnloadHandlersPresent,
1618 bool /* present */)
1619 IPC_MESSAGE_ROUTED1(FrameHostMsg_UnloadHandlersPresent, bool /* present */)
1620
1621 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) 1614 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU)
1622 1615
1623 // Message to show/hide a popup menu using native controls. 1616 // Message to show/hide a popup menu using native controls.
1624 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1617 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1625 FrameHostMsg_ShowPopup_Params) 1618 FrameHostMsg_ShowPopup_Params)
1626 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1619 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1627 1620
1628 #endif 1621 #endif
1629 1622
1630 #if defined(OS_ANDROID) 1623 #if defined(OS_ANDROID)
(...skipping 23 matching lines...) Expand all
1654 int /* nfr_request_id */, 1647 int /* nfr_request_id */,
1655 float /* distance */) 1648 float /* distance */)
1656 1649
1657 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) 1650 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder)
1658 #endif 1651 #endif
1659 1652
1660 // Adding a new message? Stick to the sort order above: first platform 1653 // Adding a new message? Stick to the sort order above: first platform
1661 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1654 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1662 // platform independent FrameHostMsg, then ifdefs for platform specific 1655 // platform independent FrameHostMsg, then ifdefs for platform specific
1663 // FrameHostMsg. 1656 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698