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

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

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/loader/EmptyClients.h ('k') | Source/core/page/Chrome.cpp » ('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, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 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 * 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 *
11 * This library is distributed in the hope that it will be useful, 11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details. 14 * Library General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU Library General Public License 16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to 17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA. 19 * Boston, MA 02110-1301, USA.
20 */ 20 */
21 21
22 #ifndef Chrome_h 22 #ifndef Chrome_h
23 #define Chrome_h 23 #define Chrome_h
24 24
25 #include "core/loader/NavigationPolicy.h" 25 #include "core/loader/NavigationPolicy.h"
26 #include "core/page/FocusType.h"
27 #include "platform/Cursor.h" 26 #include "platform/Cursor.h"
28 #include "platform/HostWindow.h" 27 #include "platform/HostWindow.h"
29 #include "platform/heap/Handle.h" 28 #include "platform/heap/Handle.h"
29 #include "public/platform/WebFocusType.h"
30 #include "wtf/Forward.h" 30 #include "wtf/Forward.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class ChromeClient; 34 class ChromeClient;
35 class ColorChooser; 35 class ColorChooser;
36 class ColorChooserClient; 36 class ColorChooserClient;
37 class DateTimeChooser; 37 class DateTimeChooser;
38 class DateTimeChooserClient; 38 class DateTimeChooserClient;
39 class FileChooser; 39 class FileChooser;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 void setCursor(const Cursor&); 74 void setCursor(const Cursor&);
75 75
76 void setWindowRect(const FloatRect&) const; 76 void setWindowRect(const FloatRect&) const;
77 FloatRect windowRect() const; 77 FloatRect windowRect() const;
78 78
79 FloatRect pageRect() const; 79 FloatRect pageRect() const;
80 80
81 void focus() const; 81 void focus() const;
82 82
83 bool canTakeFocus(FocusType) const; 83 bool canTakeFocus(WebFocusType) const;
84 void takeFocus(FocusType) const; 84 void takeFocus(WebFocusType) const;
85 85
86 void focusedNodeChanged(Node*) const; 86 void focusedNodeChanged(Node*) const;
87 87
88 void show(NavigationPolicy = NavigationPolicyIgnore) const; 88 void show(NavigationPolicy = NavigationPolicyIgnore) const;
89 89
90 bool canRunModal() const; 90 bool canRunModal() const;
91 bool canRunModalNow() const; 91 bool canRunModalNow() const;
92 void runModal() const; 92 void runModal() const;
93 93
94 void setWindowFeatures(const WindowFeatures&) const; 94 void setWindowFeatures(const WindowFeatures&) const;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 void notifyPopupOpeningObservers() const; 140 void notifyPopupOpeningObservers() const;
141 141
142 Page* m_page; 142 Page* m_page;
143 ChromeClient* m_client; 143 ChromeClient* m_client;
144 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 144 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
145 }; 145 };
146 146
147 } // namespace blink 147 } // namespace blink
148 148
149 #endif // Chrome_h 149 #endif // Chrome_h
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/page/Chrome.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698