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

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: merged content changes 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 1485 matching lines...) Expand 10 before | Expand all | Expand 10 after
1496 double /* expected_response_time */, 1496 double /* expected_response_time */,
1497 std::vector<char> /* data */) 1497 std::vector<char> /* data */)
1498 1498
1499 // Register a new handler for URL requests with the given scheme. 1499 // Register a new handler for URL requests with the given scheme.
1500 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, 1500 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler,
1501 std::string /* scheme */, 1501 std::string /* scheme */,
1502 GURL /* url */, 1502 GURL /* url */,
1503 base::string16 /* title */, 1503 base::string16 /* title */,
1504 bool /* user_gesture */) 1504 bool /* user_gesture */)
1505 1505
1506 // Unregister the registered handler for URL requests with the given scheme.
1507 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler,
1508 std::string /* scheme */,
1509 GURL /* url */,
1510 bool /* user_gesture */)
1511
1506 // Stores new inspector setting in the profile. 1512 // Stores new inspector setting in the profile.
1507 // TODO(jam): this should be in the chrome module 1513 // TODO(jam): this should be in the chrome module
1508 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, 1514 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting,
1509 std::string, /* key */ 1515 std::string, /* key */
1510 std::string /* value */) 1516 std::string /* value */)
1511 1517
1512 // Puts the browser into "tab fullscreen" mode for the sending renderer. 1518 // Puts the browser into "tab fullscreen" mode for the sending renderer.
1513 // See the comment in chrome/browser/ui/browser.h for more details. 1519 // See the comment in chrome/browser/ui/browser.h for more details.
1514 IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen, 1520 IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen,
1515 bool /* enter_fullscreen */) 1521 bool /* enter_fullscreen */)
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 // synchronously (see crbug.com/120597). This IPC message sends the character 1729 // synchronously (see crbug.com/120597). This IPC message sends the character
1724 // bounds after every composition change to always have correct bound info. 1730 // bounds after every composition change to always have correct bound info.
1725 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1731 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1726 gfx::Range /* composition range */, 1732 gfx::Range /* composition range */,
1727 std::vector<gfx::Rect> /* character bounds */) 1733 std::vector<gfx::Rect> /* character bounds */)
1728 #endif 1734 #endif
1729 1735
1730 // Adding a new message? Stick to the sort order above: first platform 1736 // Adding a new message? Stick to the sort order above: first platform
1731 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1737 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1732 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1738 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698