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

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

Issue 2862093002: Remove DCHECK that crashes.
Patch Set: Created 3 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
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 1451 matching lines...) Expand 10 before | Expand all | Expand 10 after
1462 base::string16 /* in - alert message */, 1462 base::string16 /* in - alert message */,
1463 base::string16 /* in - default prompt */, 1463 base::string16 /* in - default prompt */,
1464 GURL /* in - originating page URL */, 1464 GURL /* in - originating page URL */,
1465 content::JavaScriptDialogType /* in - type */, 1465 content::JavaScriptDialogType /* in - type */,
1466 bool /* out - success */, 1466 bool /* out - success */,
1467 base::string16 /* out - user_input field */) 1467 base::string16 /* out - user_input field */)
1468 1468
1469 // Displays a dialog to confirm that the user wants to navigate away from the 1469 // Displays a dialog to confirm that the user wants to navigate away from the
1470 // page. Replies true if yes, and false otherwise. The reply string is ignored, 1470 // page. Replies true if yes, and false otherwise. The reply string is ignored,
1471 // but is included so that we can use OnJavaScriptMessageBoxClosed. 1471 // but is included so that we can use OnJavaScriptMessageBoxClosed.
1472 IPC_SYNC_MESSAGE_ROUTED2_2(FrameHostMsg_RunBeforeUnloadConfirm, 1472 IPC_SYNC_MESSAGE_ROUTED1_2(FrameHostMsg_RunBeforeUnloadConfirm,
1473 GURL, /* in - originating frame URL */ 1473 bool /* in - is a reload */,
1474 bool /* in - is a reload */, 1474 bool /* out - success */,
1475 bool /* out - success */, 1475 base::string16 /* out - This is ignored.*/)
1476 base::string16 /* out - This is ignored.*/)
1477 1476
1478 // Asks the browser to open the color chooser. 1477 // Asks the browser to open the color chooser.
1479 IPC_MESSAGE_ROUTED3(FrameHostMsg_OpenColorChooser, 1478 IPC_MESSAGE_ROUTED3(FrameHostMsg_OpenColorChooser,
1480 int /* id */, 1479 int /* id */,
1481 SkColor /* color */, 1480 SkColor /* color */,
1482 std::vector<content::ColorSuggestion> /* suggestions */) 1481 std::vector<content::ColorSuggestion> /* suggestions */)
1483 1482
1484 // Asks the browser to end the color chooser. 1483 // Asks the browser to end the color chooser.
1485 IPC_MESSAGE_ROUTED1(FrameHostMsg_EndColorChooser, int /* id */) 1484 IPC_MESSAGE_ROUTED1(FrameHostMsg_EndColorChooser, int /* id */)
1486 1485
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
1676 int /* nfr_request_id */, 1675 int /* nfr_request_id */,
1677 float /* distance */) 1676 float /* distance */)
1678 1677
1679 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) 1678 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder)
1680 #endif 1679 #endif
1681 1680
1682 // Adding a new message? Stick to the sort order above: first platform 1681 // Adding a new message? Stick to the sort order above: first platform
1683 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1682 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1684 // platform independent FrameHostMsg, then ifdefs for platform specific 1683 // platform independent FrameHostMsg, then ifdefs for platform specific
1685 // FrameHostMsg. 1684 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698