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

Side by Side Diff: third_party/WebKit/public/web/WebNode.h

Issue 1977633003: Remove RenderFrameImpl::GetFocusedElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes the right click + blur + copy case. Created 4 years, 7 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 | « third_party/WebKit/public/web/WebFrame.h ('k') | no next file » | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 BLINK_EXPORT WebPluginContainer* pluginContainer() const; 102 BLINK_EXPORT WebPluginContainer* pluginContainer() const;
103 103
104 BLINK_EXPORT bool isInsideFocusableElementOrARIAWidget() const; 104 BLINK_EXPORT bool isInsideFocusableElementOrARIAWidget() const;
105 BLINK_EXPORT WebAXObject accessibilityObject(); 105 BLINK_EXPORT WebAXObject accessibilityObject();
106 106
107 template<typename T> T to(); 107 template<typename T> T to();
108 template<typename T> const T toConst() const; 108 template<typename T> const T toConst() const;
109 109
110 #if BLINK_IMPLEMENTATION 110 #if BLINK_IMPLEMENTATION
111 BLINK_EXPORT static WebPluginContainer* pluginContainerFromNode(const Node*) ;
112
111 BLINK_EXPORT WebNode(Node*); 113 BLINK_EXPORT WebNode(Node*);
112 BLINK_EXPORT WebNode& operator=(Node*); 114 BLINK_EXPORT WebNode& operator=(Node*);
113 BLINK_EXPORT operator Node*() const; 115 BLINK_EXPORT operator Node*() const;
114 116
115 template<typename T> T* unwrap() 117 template<typename T> T* unwrap()
116 { 118 {
117 return static_cast<T*>(m_private.get()); 119 return static_cast<T*>(m_private.get());
118 } 120 }
119 121
120 template<typename T> const T* constUnwrap() const 122 template<typename T> const T* constUnwrap() const
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 } 164 }
163 165
164 inline bool operator<(const WebNode& a, const WebNode& b) 166 inline bool operator<(const WebNode& a, const WebNode& b)
165 { 167 {
166 return a.lessThan(b); 168 return a.lessThan(b);
167 } 169 }
168 170
169 } // namespace blink 171 } // namespace blink
170 172
171 #endif 173 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698