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

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

Issue 274883002: Move didReceiveTitle and related stuff to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1119 // Indicates that the current page has been closed, after a ClosePage 1119 // Indicates that the current page has been closed, after a ClosePage
1120 // message. 1120 // message.
1121 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK) 1121 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK)
1122 1122
1123 // Notifies the browser that we have session history information. 1123 // Notifies the browser that we have session history information.
1124 // page_id: unique ID that allows us to distinguish between history entries. 1124 // page_id: unique ID that allows us to distinguish between history entries.
1125 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, 1125 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState,
1126 int32 /* page_id */, 1126 int32 /* page_id */,
1127 content::PageState /* state */) 1127 content::PageState /* state */)
1128 1128
1129 // Changes the title for the page in the UI when the page is navigated or the
1130 // title changes.
1131 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateTitle,
1132 int32 /* page_id */,
1133 base::string16 /* title */,
1134 blink::WebTextDirection /* title direction */)
1135
1136 // Change the encoding name of the page in UI when the page has detected
1137 // proper encoding name.
1138 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding,
1139 std::string /* new encoding name */)
1140
1141 // Notifies the browser that we want to show a destination url for a potential 1129 // Notifies the browser that we want to show a destination url for a potential
1142 // action (e.g. when the user is hovering over a link). 1130 // action (e.g. when the user is hovering over a link).
1143 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, 1131 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL,
1144 int32, 1132 int32,
1145 GURL) 1133 GURL)
1146 1134
1147 // Sent when the renderer main frame has made progress loading. 1135 // Sent when the renderer main frame has made progress loading.
1148 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeLoadProgress, 1136 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeLoadProgress,
1149 double /* load_progress */) 1137 double /* load_progress */)
1150 1138
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
1780 // synchronously (see crbug.com/120597). This IPC message sends the character 1768 // synchronously (see crbug.com/120597). This IPC message sends the character
1781 // bounds after every composition change to always have correct bound info. 1769 // bounds after every composition change to always have correct bound info.
1782 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1770 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1783 gfx::Range /* composition range */, 1771 gfx::Range /* composition range */,
1784 std::vector<gfx::Rect> /* character bounds */) 1772 std::vector<gfx::Rect> /* character bounds */)
1785 #endif 1773 #endif
1786 1774
1787 // Adding a new message? Stick to the sort order above: first platform 1775 // Adding a new message? Stick to the sort order above: first platform
1788 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1776 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1789 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1777 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698