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

Side by Side Diff: content/common/frame_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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/common/content_param_traits.h" 9 #include "content/common/content_param_traits.h"
10 #include "content/common/frame_message_enums.h" 10 #include "content/common/frame_message_enums.h"
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 434
435 // Notifies that the initial empty document of a view has been accessed. 435 // Notifies that the initial empty document of a view has been accessed.
436 // After this, it is no longer safe to show a pending navigation's URL without 436 // After this, it is no longer safe to show a pending navigation's URL without
437 // making a URL spoof possible. 437 // making a URL spoof possible.
438 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidAccessInitialDocument) 438 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidAccessInitialDocument)
439 439
440 // Sent when the frame sets its opener to null, disowning it for the lifetime of 440 // Sent when the frame sets its opener to null, disowning it for the lifetime of
441 // the window. Sent for top-level frames. 441 // the window. Sent for top-level frames.
442 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisownOpener) 442 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisownOpener)
443 443
444 // Changes the title for the page in the UI when the page is navigated or the
445 // title changes. Sent for top-level frames.
446 IPC_MESSAGE_ROUTED3(FrameHostMsg_UpdateTitle,
447 int32 /* page_id */,
448 base::string16 /* title */,
449 blink::WebTextDirection /* title direction */)
450
451 // Change the encoding name of the page in UI when the page has detected
452 // proper encoding name. Sent for top-level frames.
453 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateEncoding,
454 std::string /* new encoding name */)
455
444 // Following message is used to communicate the values received by the 456 // Following message is used to communicate the values received by the
445 // callback binding the JS to Cpp. 457 // callback binding the JS to Cpp.
446 // An instance of browser that has an automation host listening to it can 458 // An instance of browser that has an automation host listening to it can
447 // have a javascript send a native value (string, number, boolean) to the 459 // have a javascript send a native value (string, number, boolean) to the
448 // listener in Cpp. (DomAutomationController) 460 // listener in Cpp. (DomAutomationController)
449 IPC_MESSAGE_ROUTED2(FrameHostMsg_DomOperationResponse, 461 IPC_MESSAGE_ROUTED2(FrameHostMsg_DomOperationResponse,
450 std::string /* json_string */, 462 std::string /* json_string */,
451 int /* automation_id */) 463 int /* automation_id */)
452 464
453 // Sent to the browser when the renderer detects it is blocked on a pepper 465 // Sent to the browser when the renderer detects it is blocked on a pepper
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 SkColor /* color */) 594 SkColor /* color */)
583 595
584 // Notifies the browser that media has started/stopped playing. 596 // Notifies the browser that media has started/stopped playing.
585 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification, 597 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification,
586 int64 /* player_cookie, distinguishes instances */, 598 int64 /* player_cookie, distinguishes instances */,
587 bool /* has_video */, 599 bool /* has_video */,
588 bool /* has_audio */) 600 bool /* has_audio */)
589 601
590 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, 602 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification,
591 int64 /* player_cookie, distinguishes instances */) 603 int64 /* player_cookie, distinguishes instances */)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698