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

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

Issue 6880073: Plumb direction of document title through IPC layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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/browser/tab_contents/tab_contents.cc ('k') | content/renderer/render_view.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/common_param_traits.h" 10 #include "content/common/common_param_traits.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 IPC_ENUM_TRAITS(PageZoom::Function) 159 IPC_ENUM_TRAITS(PageZoom::Function)
160 IPC_ENUM_TRAITS(RendererPreferencesHintingEnum) 160 IPC_ENUM_TRAITS(RendererPreferencesHintingEnum)
161 IPC_ENUM_TRAITS(RendererPreferencesSubpixelRenderingEnum) 161 IPC_ENUM_TRAITS(RendererPreferencesSubpixelRenderingEnum)
162 IPC_ENUM_TRAITS(ViewHostMsg_AccessibilityNotification_Type::Value) 162 IPC_ENUM_TRAITS(ViewHostMsg_AccessibilityNotification_Type::Value)
163 IPC_ENUM_TRAITS(ViewHostMsg_RunFileChooser_Mode::Value) 163 IPC_ENUM_TRAITS(ViewHostMsg_RunFileChooser_Mode::Value)
164 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value) 164 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value)
165 IPC_ENUM_TRAITS(ViewMsg_StopFinding_Params::Action) 165 IPC_ENUM_TRAITS(ViewMsg_StopFinding_Params::Action)
166 IPC_ENUM_TRAITS(WebKit::WebContextMenuData::MediaType) 166 IPC_ENUM_TRAITS(WebKit::WebContextMenuData::MediaType)
167 IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type) 167 IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type)
168 IPC_ENUM_TRAITS(WebKit::WebPopupType) 168 IPC_ENUM_TRAITS(WebKit::WebPopupType)
169 IPC_ENUM_TRAITS(WebKit::WebTextDirection)
169 IPC_ENUM_TRAITS(WebKit::WebTextInputType) 170 IPC_ENUM_TRAITS(WebKit::WebTextInputType)
170 IPC_ENUM_TRAITS(WebMenuItem::Type) 171 IPC_ENUM_TRAITS(WebMenuItem::Type)
171 IPC_ENUM_TRAITS(WindowContainerType) 172 IPC_ENUM_TRAITS(WindowContainerType)
172 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::Role) 173 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::Role)
173 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::State) 174 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::State)
174 175
175 IPC_STRUCT_TRAITS_BEGIN(ContextMenuParams) 176 IPC_STRUCT_TRAITS_BEGIN(ContextMenuParams)
176 IPC_STRUCT_TRAITS_MEMBER(media_type) 177 IPC_STRUCT_TRAITS_MEMBER(media_type)
177 IPC_STRUCT_TRAITS_MEMBER(x) 178 IPC_STRUCT_TRAITS_MEMBER(x)
178 IPC_STRUCT_TRAITS_MEMBER(y) 179 IPC_STRUCT_TRAITS_MEMBER(y)
(...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after
1321 // Notifies the browser that a document has been loaded in a frame. 1322 // Notifies the browser that a document has been loaded in a frame.
1322 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentLoadedInFrame, 1323 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentLoadedInFrame,
1323 int64 /* frame_id */) 1324 int64 /* frame_id */)
1324 1325
1325 // Notifies the browser that a frame finished loading. 1326 // Notifies the browser that a frame finished loading.
1326 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidFinishLoad, 1327 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidFinishLoad,
1327 int64 /* frame_id */) 1328 int64 /* frame_id */)
1328 1329
1329 // Changes the title for the page in the UI when the page is navigated or the 1330 // Changes the title for the page in the UI when the page is navigated or the
1330 // title changes. 1331 // title changes.
1331 // TODO(darin): use a UTF-8 string to reduce data size 1332 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateTitle,
1332 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, 1333 int32 /* page_id */,
1333 int32, 1334 string16 /* title */,
1334 std::wstring) 1335 WebKit::WebTextDirection /* title direction */)
1335 1336
1336 // Changes the icon url for the page in the UI. 1337 // Changes the icon url for the page in the UI.
1337 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateIconURL, 1338 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateIconURL,
1338 int32, 1339 int32,
1339 GURL) 1340 GURL)
1340 1341
1341 // Change the encoding name of the page in UI when the page has detected 1342 // Change the encoding name of the page in UI when the page has detected
1342 // proper encoding name. 1343 // proper encoding name.
1343 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, 1344 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding,
1344 std::string /* new encoding name */) 1345 std::string /* new encoding name */)
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
1961 // Stores new inspector setting in the profile. 1962 // Stores new inspector setting in the profile.
1962 // TODO(jam): this should be in the chrome module 1963 // TODO(jam): this should be in the chrome module
1963 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, 1964 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting,
1964 std::string, /* key */ 1965 std::string, /* key */
1965 std::string /* value */) 1966 std::string /* value */)
1966 1967
1967 // Message sent from the renderer to the browser to notify it of events which 1968 // Message sent from the renderer to the browser to notify it of events which
1968 // may lead to the cancellation of a prerender. The message is sent only when 1969 // may lead to the cancellation of a prerender. The message is sent only when
1969 // the renderer is in prerender mode. 1970 // the renderer is in prerender mode.
1970 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media) 1971 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media)
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('k') | content/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698