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

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

Issue 309143002: Navigation transitions: Added "addStyleSheetByURL" function to insert stylesheet links. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 6 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
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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 356
357 // Notifies the corresponding RenderFrameProxy object to replace itself with the 357 // Notifies the corresponding RenderFrameProxy object to replace itself with the
358 // RenderFrame object it is associated with. 358 // RenderFrame object it is associated with.
359 IPC_MESSAGE_ROUTED0(FrameMsg_DeleteProxy) 359 IPC_MESSAGE_ROUTED0(FrameMsg_DeleteProxy)
360 360
361 // Request the text surrounding the selection with a |max_length|. The response 361 // Request the text surrounding the selection with a |max_length|. The response
362 // will be sent via FrameHostMsg_TextSurroundingSelectionResponse. 362 // will be sent via FrameHostMsg_TextSurroundingSelectionResponse.
363 IPC_MESSAGE_ROUTED1(FrameMsg_TextSurroundingSelectionRequest, 363 IPC_MESSAGE_ROUTED1(FrameMsg_TextSurroundingSelectionRequest,
364 size_t /* max_length */) 364 size_t /* max_length */)
365 365
366 // Tells the renderer to insert a link to the specified stylesheet. This is
367 // needed to support navigation transitions.
368 IPC_MESSAGE_ROUTED1(FrameMsg_AddStyleSheetByURL, std::string)
369
366 // ----------------------------------------------------------------------------- 370 // -----------------------------------------------------------------------------
367 // Messages sent from the renderer to the browser. 371 // Messages sent from the renderer to the browser.
368 372
369 // Blink and JavaScript error messages to log to the console 373 // Blink and JavaScript error messages to log to the console
370 // or debugger UI. 374 // or debugger UI.
371 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole, 375 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole,
372 int32, /* log level */ 376 int32, /* log level */
373 base::string16, /* msg */ 377 base::string16, /* msg */
374 int32, /* line number */ 378 int32, /* line number */
375 base::string16 /* source id */ ) 379 base::string16 /* source id */ )
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 616
613 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, 617 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification,
614 int64 /* player_cookie, distinguishes instances */) 618 int64 /* player_cookie, distinguishes instances */)
615 619
616 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and 620 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and
617 // |endOffset| are the offsets of the selection in the returned |content|. 621 // |endOffset| are the offsets of the selection in the returned |content|.
618 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, 622 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse,
619 base::string16, /* content */ 623 base::string16, /* content */
620 size_t, /* startOffset */ 624 size_t, /* startOffset */
621 size_t /* endOffset */) 625 size_t /* endOffset */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698