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

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

Issue 89943002: Have DOMWindow name getter / setter deal with AtomicStrings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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/DOMWindow.cpp » ('j') | Source/core/frame/DOMWindow.cpp » ('J')
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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 int screenTop() const { return screenY(); } 171 int screenTop() const { return screenY(); }
172 int scrollX() const; 172 int scrollX() const;
173 int scrollY() const; 173 int scrollY() const;
174 int pageXOffset() const { return scrollX(); } 174 int pageXOffset() const { return scrollX(); }
175 int pageYOffset() const { return scrollY(); } 175 int pageYOffset() const { return scrollY(); }
176 176
177 bool closed() const; 177 bool closed() const;
178 178
179 unsigned length() const; 179 unsigned length() const;
180 180
181 String name() const; 181 const AtomicString& name() const;
182 void setName(const String&); 182 void setName(const AtomicString&);
183 183
184 String status() const; 184 String status() const;
185 void setStatus(const String&); 185 void setStatus(const String&);
186 String defaultStatus() const; 186 String defaultStatus() const;
187 void setDefaultStatus(const String&); 187 void setDefaultStatus(const String&);
188 188
189 // Self-referential attributes 189 // Self-referential attributes
190 190
191 DOMWindow* self() const; 191 DOMWindow* self() const;
192 DOMWindow* window() const { return self(); } 192 DOMWindow* window() const { return self(); }
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 } 381 }
382 382
383 inline String DOMWindow::defaultStatus() const 383 inline String DOMWindow::defaultStatus() const
384 { 384 {
385 return m_defaultStatus; 385 return m_defaultStatus;
386 } 386 }
387 387
388 } // namespace WebCore 388 } // namespace WebCore
389 389
390 #endif // DOMWindow_h 390 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/DOMWindow.cpp » ('j') | Source/core/frame/DOMWindow.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698