| OLD | NEW |
| 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) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
| 6 * rights reserved. | 6 * rights reserved. |
| 7 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 7 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * | 10 * |
| (...skipping 2352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2363 | 2363 |
| 2364 HTMLSlotElement* Node::assignedSlotForBinding() { | 2364 HTMLSlotElement* Node::assignedSlotForBinding() { |
| 2365 // assignedSlot doesn't need to call updateDistribution(). | 2365 // assignedSlot doesn't need to call updateDistribution(). |
| 2366 if (ShadowRoot* root = V1ShadowRootOfParent()) { | 2366 if (ShadowRoot* root = V1ShadowRootOfParent()) { |
| 2367 if (root->GetType() == ShadowRootType::kOpen) | 2367 if (root->GetType() == ShadowRootType::kOpen) |
| 2368 return root->AssignedSlotFor(*this); | 2368 return root->AssignedSlotFor(*this); |
| 2369 } | 2369 } |
| 2370 return nullptr; | 2370 return nullptr; |
| 2371 } | 2371 } |
| 2372 | 2372 |
| 2373 void Node::SetFocused(bool flag, WebFocusType focus_type) { | 2373 void Node::SetFocused(bool flag, |
| 2374 WebFocusType focus_type, |
| 2375 Node* common_ancestor) { |
| 2374 GetDocument().UserActionElements().SetFocused(this, flag); | 2376 GetDocument().UserActionElements().SetFocused(this, flag); |
| 2375 } | 2377 } |
| 2376 | 2378 |
| 2377 void Node::SetHasFocusWithin(bool flag) { | 2379 void Node::SetHasFocusWithin(bool flag) { |
| 2378 GetDocument().UserActionElements().SetHasFocusWithin(this, flag); | 2380 GetDocument().UserActionElements().SetHasFocusWithin(this, flag); |
| 2379 } | 2381 } |
| 2380 | 2382 |
| 2381 void Node::SetActive(bool flag) { | 2383 void Node::SetActive(bool flag) { |
| 2382 GetDocument().UserActionElements().SetActive(this, flag); | 2384 GetDocument().UserActionElements().SetActive(this, flag); |
| 2383 } | 2385 } |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2563 if (node) { | 2565 if (node) { |
| 2564 std::stringstream stream; | 2566 std::stringstream stream; |
| 2565 node->PrintNodePathTo(stream); | 2567 node->PrintNodePathTo(stream); |
| 2566 LOG(INFO) << stream.str(); | 2568 LOG(INFO) << stream.str(); |
| 2567 } else { | 2569 } else { |
| 2568 LOG(INFO) << "Cannot showNodePath for <null>"; | 2570 LOG(INFO) << "Cannot showNodePath for <null>"; |
| 2569 } | 2571 } |
| 2570 } | 2572 } |
| 2571 | 2573 |
| 2572 #endif | 2574 #endif |
| OLD | NEW |