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

Side by Side Diff: third_party/WebKit/Source/core/frame/Window.idl

Issue 1459603002: Implement the 'noopener' window feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nasko Created 5 years, 1 month 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 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 // other browsing contexts 56 // other browsing contexts
57 [Replaceable, DoNotCheckSecurity] readonly attribute Window frames; 57 [Replaceable, DoNotCheckSecurity] readonly attribute Window frames;
58 [Replaceable, DoNotCheckSecurity] readonly attribute unsigned long length; 58 [Replaceable, DoNotCheckSecurity] readonly attribute unsigned long length;
59 [Unforgeable, DoNotCheckSecurity] readonly attribute Window top; 59 [Unforgeable, DoNotCheckSecurity] readonly attribute Window top;
60 // FIXME: opener should be of type any. 60 // FIXME: opener should be of type any.
61 [DoNotCheckSecurity, Custom=Setter] attribute Window opener; 61 [DoNotCheckSecurity, Custom=Setter] attribute Window opener;
62 [Replaceable, DoNotCheckSecurity] readonly attribute Window parent; 62 [Replaceable, DoNotCheckSecurity] readonly attribute Window parent;
63 [CheckSecurity=Node, Custom=Getter] readonly attribute Element? frameElement ; 63 [CheckSecurity=Node, Custom=Getter] readonly attribute Element? frameElement ;
64 // FIXME: open() should have 4 optional arguments with defaults. 64 // FIXME: open() should have 4 optional arguments with defaults.
65 [Custom] Window open(DOMString url, DOMString target, optional DOMString fea tures); 65 [Custom] Window? open(DOMString url, DOMString target, optional DOMString fe atures);
66 // FIXME: These getters should not have [NotEnumerable]. 66 // FIXME: These getters should not have [NotEnumerable].
67 [NotEnumerable, DoNotCheckSecurity] getter Window (unsigned long index); 67 [NotEnumerable, DoNotCheckSecurity] getter Window (unsigned long index);
68 [Custom, NotEnumerable, DoNotCheckSecurity] getter object (DOMString name); 68 [Custom, NotEnumerable, DoNotCheckSecurity] getter object (DOMString name);
69 69
70 // the user agent 70 // the user agent
71 [LogActivity=GetterOnly] readonly attribute Navigator navigator; 71 [LogActivity=GetterOnly] readonly attribute Navigator navigator;
72 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute ApplicationCache applicationCache; 72 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute ApplicationCache applicationCache;
73 73
74 // user prompts 74 // user prompts
75 [Measure] void alert(); 75 [Measure] void alert();
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 200 // FIXME: make this typedef accurate once enough of http://crbug.com/240176
201 // is in place. 201 // is in place.
202 // FIXME: consider putting this typedef in an .idl file containing spec-wide 202 // FIXME: consider putting this typedef in an .idl file containing spec-wide
203 // utility type definitions. 203 // utility type definitions.
204 typedef MessagePort Transferable; 204 typedef MessagePort Transferable;
205 205
206 Window implements GlobalEventHandlers; 206 Window implements GlobalEventHandlers;
207 Window implements WindowBase64; 207 Window implements WindowBase64;
208 Window implements WindowEventHandlers; 208 Window implements WindowEventHandlers;
209 Window implements WindowTimers; 209 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp ('k') | third_party/WebKit/Source/core/page/CreateWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698