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

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

Issue 23868017: Use the top-level URL for popup blocking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 // The name of the resulting frame that should be created (empty if none 331 // The name of the resulting frame that should be created (empty if none
332 // has been specified). 332 // has been specified).
333 IPC_STRUCT_MEMBER(string16, frame_name) 333 IPC_STRUCT_MEMBER(string16, frame_name)
334 334
335 // The frame identifier of the frame initiating the open. 335 // The frame identifier of the frame initiating the open.
336 IPC_STRUCT_MEMBER(int64, opener_frame_id) 336 IPC_STRUCT_MEMBER(int64, opener_frame_id)
337 337
338 // The URL of the frame initiating the open. 338 // The URL of the frame initiating the open.
339 IPC_STRUCT_MEMBER(GURL, opener_url) 339 IPC_STRUCT_MEMBER(GURL, opener_url)
340 340
341 // The URL of the top frame containing the opener.
342 IPC_STRUCT_MEMBER(GURL, opener_top_level_frame_url)
343
341 // The security origin of the frame initiating the open. 344 // The security origin of the frame initiating the open.
342 IPC_STRUCT_MEMBER(GURL, opener_security_origin) 345 IPC_STRUCT_MEMBER(GURL, opener_security_origin)
343 346
344 // Whether the opener will be suppressed in the new window, in which case 347 // Whether the opener will be suppressed in the new window, in which case
345 // scripting the new window is not allowed. 348 // scripting the new window is not allowed.
346 IPC_STRUCT_MEMBER(bool, opener_suppressed) 349 IPC_STRUCT_MEMBER(bool, opener_suppressed)
347 350
348 // Whether the window should be opened in the foreground, background, etc. 351 // Whether the window should be opened in the foreground, background, etc.
349 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) 352 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
350 353
(...skipping 2018 matching lines...) Expand 10 before | Expand all | Expand 10 after
2369 // synchronously (see crbug.com/120597). This IPC message sends the character 2372 // synchronously (see crbug.com/120597). This IPC message sends the character
2370 // bounds after every composition change to always have correct bound info. 2373 // bounds after every composition change to always have correct bound info.
2371 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2374 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2372 gfx::Range /* composition range */, 2375 gfx::Range /* composition range */,
2373 std::vector<gfx::Rect> /* character bounds */) 2376 std::vector<gfx::Rect> /* character bounds */)
2374 #endif 2377 #endif
2375 2378
2376 // Adding a new message? Stick to the sort order above: first platform 2379 // Adding a new message? Stick to the sort order above: first platform
2377 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2380 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2378 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2381 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698