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

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

Issue 852083002: Propagate focus type to plugins (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moved 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 | Annotate | Revision Log
« 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 FloatRect Chrome::pageRect() const 97 FloatRect Chrome::pageRect() const
98 { 98 {
99 return m_client->pageRect(); 99 return m_client->pageRect();
100 } 100 }
101 101
102 void Chrome::focus() const 102 void Chrome::focus() const
103 { 103 {
104 m_client->focus(); 104 m_client->focus();
105 } 105 }
106 106
107 bool Chrome::canTakeFocus(FocusType 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(FocusType 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* node) const
118 { 118 {
119 m_client->focusedNodeChanged(node); 119 m_client->focusedNodeChanged(node);
120 } 120 }
121 121
122 void Chrome::show(NavigationPolicy policy) const 122 void Chrome::show(NavigationPolicy policy) const
(...skipping 285 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