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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp

Issue 2149893003: Rename Node::inShadowIncludingDocument() to Node::isConnected() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed Created 4 years, 5 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Simon Hausmann (hausmann@kde.org) 4 * (C) 2000 Simon Hausmann (hausmann@kde.org)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 else if (frame->isRemoteFrame()) 180 else if (frame->isRemoteFrame())
181 setWidget(toRemoteFrame(frame)->view()); 181 setWidget(toRemoteFrame(frame)->view());
182 } 182 }
183 } 183 }
184 } 184 }
185 185
186 void HTMLFrameElementBase::setLocation(const String& str) 186 void HTMLFrameElementBase::setLocation(const String& str)
187 { 187 {
188 m_URL = AtomicString(str); 188 m_URL = AtomicString(str);
189 189
190 if (inShadowIncludingDocument()) 190 if (isConnected())
191 openURL(false); 191 openURL(false);
192 } 192 }
193 193
194 bool HTMLFrameElementBase::supportsFocus() const 194 bool HTMLFrameElementBase::supportsFocus() const
195 { 195 {
196 return true; 196 return true;
197 } 197 }
198 198
199 void HTMLFrameElementBase::setFocus(bool received) 199 void HTMLFrameElementBase::setFocus(bool received)
200 { 200 {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 frameOwnerPropertiesChanged(); 246 frameOwnerPropertiesChanged();
247 } 247 }
248 248
249 void HTMLFrameElementBase::setMarginHeight(int marginHeight) 249 void HTMLFrameElementBase::setMarginHeight(int marginHeight)
250 { 250 {
251 m_marginHeight = marginHeight; 251 m_marginHeight = marginHeight;
252 frameOwnerPropertiesChanged(); 252 frameOwnerPropertiesChanged();
253 } 253 }
254 254
255 } // namespace blink 255 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFormElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698