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

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

Issue 6901003: Revert my recent changes regarding title directionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyrights 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)
170 IPC_ENUM_TRAITS(WebKit::WebTextInputType) 169 IPC_ENUM_TRAITS(WebKit::WebTextInputType)
171 IPC_ENUM_TRAITS(WebMenuItem::Type) 170 IPC_ENUM_TRAITS(WebMenuItem::Type)
172 IPC_ENUM_TRAITS(WindowContainerType) 171 IPC_ENUM_TRAITS(WindowContainerType)
173 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::Role) 172 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::Role)
174 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::State) 173 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::State)
175 174
176 IPC_STRUCT_TRAITS_BEGIN(ContextMenuParams) 175 IPC_STRUCT_TRAITS_BEGIN(ContextMenuParams)
177 IPC_STRUCT_TRAITS_MEMBER(media_type) 176 IPC_STRUCT_TRAITS_MEMBER(media_type)
178 IPC_STRUCT_TRAITS_MEMBER(x) 177 IPC_STRUCT_TRAITS_MEMBER(x)
179 IPC_STRUCT_TRAITS_MEMBER(y) 178 IPC_STRUCT_TRAITS_MEMBER(y)
(...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 // Notifies the browser that a document has been loaded in a frame. 1321 // Notifies the browser that a document has been loaded in a frame.
1323 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentLoadedInFrame, 1322 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentLoadedInFrame,
1324 int64 /* frame_id */) 1323 int64 /* frame_id */)
1325 1324
1326 // Notifies the browser that a frame finished loading. 1325 // Notifies the browser that a frame finished loading.
1327 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidFinishLoad, 1326 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidFinishLoad,
1328 int64 /* frame_id */) 1327 int64 /* frame_id */)
1329 1328
1330 // Changes the title for the page in the UI when the page is navigated or the 1329 // Changes the title for the page in the UI when the page is navigated or the
1331 // title changes. 1330 // title changes.
1332 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateTitle, 1331 // TODO(darin): use a UTF-8 string to reduce data size
1333 int32 /* page_id */, 1332 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle,
1334 string16 /* title */, 1333 int32,
1335 WebKit::WebTextDirection /* title direction */) 1334 std::wstring)
1336 1335
1337 // Changes the icon url for the page in the UI. 1336 // Changes the icon url for the page in the UI.
1338 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateIconURL, 1337 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateIconURL,
1339 int32, 1338 int32,
1340 GURL) 1339 GURL)
1341 1340
1342 // Change the encoding name of the page in UI when the page has detected 1341 // Change the encoding name of the page in UI when the page has detected
1343 // proper encoding name. 1342 // proper encoding name.
1344 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, 1343 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding,
1345 std::string /* new encoding name */) 1344 std::string /* new encoding name */)
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
1962 // Stores new inspector setting in the profile. 1961 // Stores new inspector setting in the profile.
1963 // TODO(jam): this should be in the chrome module 1962 // TODO(jam): this should be in the chrome module
1964 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, 1963 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting,
1965 std::string, /* key */ 1964 std::string, /* key */
1966 std::string /* value */) 1965 std::string /* value */)
1967 1966
1968 // Message sent from the renderer to the browser to notify it of events which 1967 // Message sent from the renderer to the browser to notify it of events which
1969 // may lead to the cancellation of a prerender. The message is sent only when 1968 // may lead to the cancellation of a prerender. The message is sent only when
1970 // the renderer is in prerender mode. 1969 // the renderer is in prerender mode.
1971 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media) 1970 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