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

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

Issue 368243009: Implement unregisterProtocolHandler() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years, 5 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 (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 1475 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 double /* expected_response_time */, 1486 double /* expected_response_time */,
1487 std::vector<char> /* data */) 1487 std::vector<char> /* data */)
1488 1488
1489 // Register a new handler for URL requests with the given scheme. 1489 // Register a new handler for URL requests with the given scheme.
1490 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, 1490 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler,
1491 std::string /* scheme */, 1491 std::string /* scheme */,
1492 GURL /* url */, 1492 GURL /* url */,
1493 base::string16 /* title */, 1493 base::string16 /* title */,
1494 bool /* user_gesture */) 1494 bool /* user_gesture */)
1495 1495
1496 // Unregister the registered handler for URL requests with the given scheme.
1497 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler,
1498 std::string /* scheme */,
1499 GURL /* url */,
1500 bool /* user_gesture */)
1501
1496 // Stores new inspector setting in the profile. 1502 // Stores new inspector setting in the profile.
1497 // TODO(jam): this should be in the chrome module 1503 // TODO(jam): this should be in the chrome module
1498 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, 1504 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting,
1499 std::string, /* key */ 1505 std::string, /* key */
1500 std::string /* value */) 1506 std::string /* value */)
1501 1507
1502 // Puts the browser into "tab fullscreen" mode for the sending renderer. 1508 // Puts the browser into "tab fullscreen" mode for the sending renderer.
1503 // See the comment in chrome/browser/ui/browser.h for more details. 1509 // See the comment in chrome/browser/ui/browser.h for more details.
1504 IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen, 1510 IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen,
1505 bool /* enter_fullscreen */) 1511 bool /* enter_fullscreen */)
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
1697 // Since the browser keeps handles to the allocated transport DIBs, this 1703 // Since the browser keeps handles to the allocated transport DIBs, this
1698 // message is sent to tell the browser that it may release them when the 1704 // message is sent to tell the browser that it may release them when the
1699 // renderer is finished with them. 1705 // renderer is finished with them.
1700 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 1706 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
1701 TransportDIB::Id /* DIB id */) 1707 TransportDIB::Id /* DIB id */)
1702 #endif 1708 #endif
1703 1709
1704 // Adding a new message? Stick to the sort order above: first platform 1710 // Adding a new message? Stick to the sort order above: first platform
1705 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1711 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1706 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1712 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698