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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.h

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, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 DOMVisualViewport* visualViewport(); 146 DOMVisualViewport* visualViewport();
147 147
148 const AtomicString& name() const; 148 const AtomicString& name() const;
149 void setName(const AtomicString&); 149 void setName(const AtomicString&);
150 150
151 String status() const; 151 String status() const;
152 void setStatus(const String&); 152 void setStatus(const String&);
153 String defaultStatus() const; 153 String defaultStatus() const;
154 void setDefaultStatus(const String&); 154 void setDefaultStatus(const String&);
155 String origin() const;
155 156
156 // DOM Level 2 AbstractView Interface 157 // DOM Level 2 AbstractView Interface
157 Document* document() const; 158 Document* document() const;
158 159
159 // CSSOM View Module 160 // CSSOM View Module
160 StyleMedia* styleMedia() const; 161 StyleMedia* styleMedia() const;
161 162
162 // WebKit extensions 163 // WebKit extensions
163 double devicePixelRatio() const; 164 double devicePixelRatio() const;
164 165
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 return m_status; 381 return m_status;
381 } 382 }
382 383
383 inline String LocalDOMWindow::defaultStatus() const { 384 inline String LocalDOMWindow::defaultStatus() const {
384 return m_defaultStatus; 385 return m_defaultStatus;
385 } 386 }
386 387
387 } // namespace blink 388 } // namespace blink
388 389
389 #endif // LocalDOMWindow_h 390 #endif // LocalDOMWindow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698