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

Side by Side Diff: chrome/common/render_messages.h

Issue 11644009: Added support for passing WindowOpenDisposition into BrowserInstantController::OpenURL() from the o… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <map> 6 #include <map>
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 13 matching lines...) Expand all
24 #include "chrome/common/search_provider.h" 24 #include "chrome/common/search_provider.h"
25 #include "chrome/common/search_types.h" 25 #include "chrome/common/search_types.h"
26 #include "chrome/common/translate_errors.h" 26 #include "chrome/common/translate_errors.h"
27 #include "content/public/common/common_param_traits.h" 27 #include "content/public/common/common_param_traits.h"
28 #include "ipc/ipc_channel_handle.h" 28 #include "ipc/ipc_channel_handle.h"
29 #include "ipc/ipc_message_macros.h" 29 #include "ipc/ipc_message_macros.h"
30 #include "ipc/ipc_platform_file.h" 30 #include "ipc/ipc_platform_file.h"
31 #include "third_party/skia/include/core/SkBitmap.h" 31 #include "third_party/skia/include/core/SkBitmap.h"
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h"
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h"
34 #include "ui/base/window_open_disposition.h"
34 #include "ui/gfx/rect.h" 35 #include "ui/gfx/rect.h"
35 36
36 // Singly-included section for enums and custom IPC traits. 37 // Singly-included section for enums and custom IPC traits.
37 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ 38 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_
38 #define CHROME_COMMON_RENDER_MESSAGES_H_ 39 #define CHROME_COMMON_RENDER_MESSAGES_H_
39 40
40 class SkBitmap; 41 class SkBitmap;
41 42
42 // Command values for the cmd parameter of the 43 // Command values for the cmd parameter of the
43 // ViewHost_JavaScriptStressTestControl message. For each command the parameter 44 // ViewHost_JavaScriptStressTestControl message. For each command the parameter
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetSuggestions, 651 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetSuggestions,
651 int /* page_id */, 652 int /* page_id */,
652 std::vector<InstantSuggestion> /* suggestions */) 653 std::vector<InstantSuggestion> /* suggestions */)
653 654
654 // Sent by Instant to indicate whether the page supports the Instant API 655 // Sent by Instant to indicate whether the page supports the Instant API
655 // (http://dev.chromium.org/searchbox). 656 // (http://dev.chromium.org/searchbox).
656 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, 657 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined,
657 int /* page_id */, 658 int /* page_id */,
658 bool /* result */) 659 bool /* result */)
659 660
660 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_SearchBoxNavigate, 661 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_SearchBoxNavigate,
661 int /* page_id */, 662 int /* page_id */,
662 GURL /* destination */, 663 GURL /* destination */,
663 content::PageTransition /* transition */) 664 content::PageTransition /* transition */,
665 WindowOpenDisposition /* disposition */)
664 666
665 // Sent by the Instant overlay asking to show itself with the given height. 667 // Sent by the Instant overlay asking to show itself with the given height.
666 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantOverlay, 668 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantOverlay,
667 int /* page_id */, 669 int /* page_id */,
668 InstantShownReason /* reason */, 670 InstantShownReason /* reason */,
669 int /* height */, 671 int /* height */,
670 InstantSizeUnits /* units */) 672 InstantSizeUnits /* units */)
671 673
672 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes, 674 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes,
673 int /* page_id */) 675 int /* page_id */)
(...skipping 24 matching lines...) Expand all
698 // previous SetCookie message to be processed. 700 // previous SetCookie message to be processed.
699 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 701 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
700 GURL /* url */, 702 GURL /* url */,
701 GURL /* first_party_for_cookies */, 703 GURL /* first_party_for_cookies */,
702 std::string /* cookies */) 704 std::string /* cookies */)
703 705
704 // Provide the browser process with current renderer framerate. 706 // Provide the browser process with current renderer framerate.
705 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 707 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
706 int /* routing id */, 708 int /* routing id */,
707 float /* frames per second */) 709 float /* frames per second */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698