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

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

Issue 2706013002: Added support for self.origin in Window and WorkerGlobalScope (Closed)
Patch Set: rebase-update after manifest.json changes Created 3 years, 9 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 /* 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 19 matching lines...) Expand all
30 [ 30 [
31 CheckSecurity=Receiver, 31 CheckSecurity=Receiver,
32 ImplementedAs=DOMWindow, 32 ImplementedAs=DOMWindow,
33 PrimaryGlobal, 33 PrimaryGlobal,
34 ] interface Window : EventTarget { 34 ] interface Window : EventTarget {
35 // the current browsing context 35 // the current browsing context
36 // FIXME: The spec uses the WindowProxy type for this and many other attribu tes. 36 // FIXME: The spec uses the WindowProxy type for this and many other attribu tes.
37 [Unforgeable, CrossOrigin] readonly attribute Window window; 37 [Unforgeable, CrossOrigin] readonly attribute Window window;
38 [Replaceable, CrossOrigin] readonly attribute Window self; 38 [Replaceable, CrossOrigin] readonly attribute Window self;
39 [Unforgeable, CachedAccessor] readonly attribute Document document; 39 [Unforgeable, CachedAccessor] readonly attribute Document document;
40 [Replaceable] readonly attribute DOMString origin;
40 attribute DOMString name; 41 attribute DOMString name;
41 [PutForwards=href, Unforgeable, CrossOrigin=(Getter,Setter), Custom=Getter] readonly attribute Location location; 42 [PutForwards=href, Unforgeable, CrossOrigin=(Getter,Setter), Custom=Getter] readonly attribute Location location;
42 readonly attribute History history; 43 readonly attribute History history;
43 [Replaceable, MeasureAs=BarPropLocationbar] readonly attribute BarProp locat ionbar; 44 [Replaceable, MeasureAs=BarPropLocationbar] readonly attribute BarProp locat ionbar;
44 [Replaceable, MeasureAs=BarPropMenubar] readonly attribute BarProp menubar; 45 [Replaceable, MeasureAs=BarPropMenubar] readonly attribute BarProp menubar;
45 [Replaceable, MeasureAs=BarPropPersonalbar] readonly attribute BarProp perso nalbar; 46 [Replaceable, MeasureAs=BarPropPersonalbar] readonly attribute BarProp perso nalbar;
46 [Replaceable, MeasureAs=BarPropScrollbars] readonly attribute BarProp scroll bars; 47 [Replaceable, MeasureAs=BarPropScrollbars] readonly attribute BarProp scroll bars;
47 [Replaceable, MeasureAs=BarPropStatusbar] readonly attribute BarProp statusb ar; 48 [Replaceable, MeasureAs=BarPropStatusbar] readonly attribute BarProp statusb ar;
48 [Replaceable, MeasureAs=BarPropToolbar] readonly attribute BarProp toolbar; 49 [Replaceable, MeasureAs=BarPropToolbar] readonly attribute BarProp toolbar;
49 attribute DOMString status; 50 attribute DOMString status;
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // FIXME: make this typedef accurate once enough of https://crbug.com/240176 212 // FIXME: make this typedef accurate once enough of https://crbug.com/240176
212 // is in place. 213 // is in place.
213 // FIXME: consider putting this typedef in an .idl file containing spec-wide 214 // FIXME: consider putting this typedef in an .idl file containing spec-wide
214 // utility type definitions. 215 // utility type definitions.
215 typedef MessagePort Transferable; 216 typedef MessagePort Transferable;
216 217
217 Window implements GlobalEventHandlers; 218 Window implements GlobalEventHandlers;
218 Window implements WindowBase64; 219 Window implements WindowBase64;
219 Window implements WindowEventHandlers; 220 Window implements WindowEventHandlers;
220 Window implements WindowTimers; 221 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp ('k') | third_party/WebKit/Source/core/workers/WorkerGlobalScope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698