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

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, 9 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 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetSuggestions, 672 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetSuggestions,
672 int /* page_id */, 673 int /* page_id */,
673 std::vector<InstantSuggestion> /* suggestions */) 674 std::vector<InstantSuggestion> /* suggestions */)
674 675
675 // Sent by Instant to indicate whether the page supports the Instant API 676 // Sent by Instant to indicate whether the page supports the Instant API
676 // (http://dev.chromium.org/searchbox). 677 // (http://dev.chromium.org/searchbox).
677 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, 678 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined,
678 int /* page_id */, 679 int /* page_id */,
679 bool /* result */) 680 bool /* result */)
680 681
681 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_SearchBoxNavigate, 682 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_SearchBoxNavigate,
682 int /* page_id */, 683 int /* page_id */,
683 GURL /* destination */, 684 GURL /* destination */,
684 content::PageTransition /* transition */) 685 content::PageTransition /* transition */,
686 WindowOpenDisposition /* disposition */)
685 687
686 // Sent by the Instant overlay asking to show itself with the given height. 688 // Sent by the Instant overlay asking to show itself with the given height.
687 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantOverlay, 689 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantOverlay,
688 int /* page_id */, 690 int /* page_id */,
689 InstantShownReason /* reason */, 691 InstantShownReason /* reason */,
690 int /* height */, 692 int /* height */,
691 InstantSizeUnits /* units */) 693 InstantSizeUnits /* units */)
692 694
693 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes, 695 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes,
694 int /* page_id */) 696 int /* page_id */)
(...skipping 24 matching lines...) Expand all
719 // previous SetCookie message to be processed. 721 // previous SetCookie message to be processed.
720 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 722 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
721 GURL /* url */, 723 GURL /* url */,
722 GURL /* first_party_for_cookies */, 724 GURL /* first_party_for_cookies */,
723 std::string /* cookies */) 725 std::string /* cookies */)
724 726
725 // Provide the browser process with current renderer framerate. 727 // Provide the browser process with current renderer framerate.
726 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 728 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
727 int /* routing id */, 729 int /* routing id */,
728 float /* frames per second */) 730 float /* frames per second */)
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_instant_controller.cc ('k') | chrome/renderer/resources/extensions/searchbox_api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698