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

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

Issue 700803002: bindings: Window must be LocalDOMWindow by definition. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 double scrollX() const override; 117 double scrollX() const override;
118 double scrollY() const override; 118 double scrollY() const override;
119 bool closed() const override; 119 bool closed() const override;
120 unsigned length() const override; 120 unsigned length() const override;
121 const AtomicString& name() const override; 121 const AtomicString& name() const override;
122 void setName(const AtomicString&) override; 122 void setName(const AtomicString&) override;
123 String status() const override; 123 String status() const override;
124 void setStatus(const String&) override; 124 void setStatus(const String&) override;
125 String defaultStatus() const override; 125 String defaultStatus() const override;
126 void setDefaultStatus(const String&) override; 126 void setDefaultStatus(const String&) override;
127 DOMWindow* self() const override; 127 LocalDOMWindow* self() const override;
128 DOMWindow* opener() const override; 128 LocalDOMWindow* window() const { return self(); }
129 DOMWindow* parent() const override; 129 LocalDOMWindow* frames() const { return self(); }
130 DOMWindow* top() const override; 130 LocalDOMWindow* opener() const override;
131 LocalDOMWindow* parent() const override;
132 LocalDOMWindow* top() const override;
131 Document* document() const override; 133 Document* document() const override;
132 StyleMedia* styleMedia() const override; 134 StyleMedia* styleMedia() const override;
133 double devicePixelRatio() const override; 135 double devicePixelRatio() const override;
134 Storage* sessionStorage(ExceptionState&) const override; 136 Storage* sessionStorage(ExceptionState&) const override;
135 Storage* localStorage(ExceptionState&) const override; 137 Storage* localStorage(ExceptionState&) const override;
136 ApplicationCache* applicationCache() const override; 138 ApplicationCache* applicationCache() const override;
137 int orientation() const override; 139 int orientation() const override;
138 Console* console() const override; 140 Console* console() const override;
139 Performance* performance() const override; 141 Performance* performance() const override;
140 DOMWindowCSS* css() const override; 142 DOMWindowCSS* css() const override;
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 } 388 }
387 389
388 inline String LocalDOMWindow::defaultStatus() const 390 inline String LocalDOMWindow::defaultStatus() const
389 { 391 {
390 return m_defaultStatus; 392 return m_defaultStatus;
391 } 393 }
392 394
393 } // namespace blink 395 } // namespace blink
394 396
395 #endif // LocalDOMWindow_h 397 #endif // LocalDOMWindow_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698