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

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: 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
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 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 // Indicates that the current page has been closed, after a ClosePage 1117 // Indicates that the current page has been closed, after a ClosePage
1118 // message. 1118 // message.
1119 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK) 1119 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK)
1120 1120
1121 // Notifies the browser that we have session history information. 1121 // Notifies the browser that we have session history information.
1122 // page_id: unique ID that allows us to distinguish between history entries. 1122 // page_id: unique ID that allows us to distinguish between history entries.
1123 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, 1123 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState,
1124 int32 /* page_id */, 1124 int32 /* page_id */,
1125 content::PageState /* state */) 1125 content::PageState /* state */)
1126 1126
1127 // Changes the title for the page in the UI when the page is navigated or the
1128 // title changes.
1129 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateTitle,
1130 int32 /* page_id */,
1131 base::string16 /* title */,
1132 blink::WebTextDirection /* title direction */)
1133
1134 // Change the encoding name of the page in UI when the page has detected
1135 // proper encoding name.
1136 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding,
1137 std::string /* new encoding name */)
1138
1139 // Notifies the browser that we want to show a destination url for a potential 1127 // Notifies the browser that we want to show a destination url for a potential
1140 // action (e.g. when the user is hovering over a link). 1128 // action (e.g. when the user is hovering over a link).
1141 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, 1129 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL,
1142 int32, 1130 int32,
1143 GURL) 1131 GURL)
1144 1132
1145 // Sent when the renderer main frame has made progress loading. 1133 // Sent when the renderer main frame has made progress loading.
1146 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeLoadProgress, 1134 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeLoadProgress,
1147 double /* load_progress */) 1135 double /* load_progress */)
1148 1136
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
1777 // synchronously (see crbug.com/120597). This IPC message sends the character 1765 // synchronously (see crbug.com/120597). This IPC message sends the character
1778 // bounds after every composition change to always have correct bound info. 1766 // bounds after every composition change to always have correct bound info.
1779 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1767 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1780 gfx::Range /* composition range */, 1768 gfx::Range /* composition range */,
1781 std::vector<gfx::Rect> /* character bounds */) 1769 std::vector<gfx::Rect> /* character bounds */)
1782 #endif 1770 #endif
1783 1771
1784 // Adding a new message? Stick to the sort order above: first platform 1772 // Adding a new message? Stick to the sort order above: first platform
1785 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1773 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1786 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1774 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698