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

Side by Side Diff: Source/core/page/Chrome.cpp

Issue 851393002: add previously focused node to WebClient::focusedNodeChanged (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: merge, review comments Created 5 years, 11 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
« no previous file with comments | « Source/core/page/Chrome.h ('k') | Source/core/page/ChromeClient.h » ('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, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 bool Chrome::canTakeFocus(WebFocusType type) const 107 bool Chrome::canTakeFocus(WebFocusType type) const
108 { 108 {
109 return m_client->canTakeFocus(type); 109 return m_client->canTakeFocus(type);
110 } 110 }
111 111
112 void Chrome::takeFocus(WebFocusType type) const 112 void Chrome::takeFocus(WebFocusType type) const
113 { 113 {
114 m_client->takeFocus(type); 114 m_client->takeFocus(type);
115 } 115 }
116 116
117 void Chrome::focusedNodeChanged(Node* node) const 117 void Chrome::focusedNodeChanged(Node* fromNode, Node* toNode) const
118 { 118 {
119 m_client->focusedNodeChanged(node); 119 m_client->focusedNodeChanged(fromNode, toNode);
120 } 120 }
121 121
122 void Chrome::show(NavigationPolicy policy) const 122 void Chrome::show(NavigationPolicy policy) const
123 { 123 {
124 m_client->show(policy); 124 m_client->show(policy);
125 } 125 }
126 126
127 bool Chrome::canRunModal() const 127 bool Chrome::canRunModal() const
128 { 128 {
129 return m_client->canRunModal(); 129 return m_client->canRunModal();
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 { 408 {
409 m_client->registerViewportLayers(); 409 m_client->registerViewportLayers();
410 } 410 }
411 411
412 void Chrome::willBeDestroyed() 412 void Chrome::willBeDestroyed()
413 { 413 {
414 m_client->chromeDestroyed(); 414 m_client->chromeDestroyed();
415 } 415 }
416 416
417 } // namespace blink 417 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/page/Chrome.h ('k') | Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698