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

Side by Side Diff: Source/web/WebViewImpl.h

Issue 179013002: Add WebDocument::clearFocusedElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 | « no previous file | Source/web/WebViewImpl.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 virtual void setDomainRelaxationForbidden(bool, const WebString& scheme) OVE RRIDE; 198 virtual void setDomainRelaxationForbidden(bool, const WebString& scheme) OVE RRIDE;
199 virtual void setWindowFeatures(const WebWindowFeatures&) OVERRIDE; 199 virtual void setWindowFeatures(const WebWindowFeatures&) OVERRIDE;
200 virtual bool dispatchBeforeUnloadEvent() OVERRIDE; 200 virtual bool dispatchBeforeUnloadEvent() OVERRIDE;
201 virtual void dispatchUnloadEvent() OVERRIDE; 201 virtual void dispatchUnloadEvent() OVERRIDE;
202 virtual WebFrame* mainFrame() OVERRIDE; 202 virtual WebFrame* mainFrame() OVERRIDE;
203 virtual WebFrame* findFrameByName( 203 virtual WebFrame* findFrameByName(
204 const WebString& name, WebFrame* relativeToFrame) OVERRIDE; 204 const WebString& name, WebFrame* relativeToFrame) OVERRIDE;
205 virtual WebFrame* focusedFrame() OVERRIDE; 205 virtual WebFrame* focusedFrame() OVERRIDE;
206 virtual void setFocusedFrame(WebFrame*) OVERRIDE; 206 virtual void setFocusedFrame(WebFrame*) OVERRIDE;
207 virtual void setInitialFocus(bool reverse) OVERRIDE; 207 virtual void setInitialFocus(bool reverse) OVERRIDE;
208 // Deprecated Api. Please use clearFocusedElement instead.
208 virtual void clearFocusedNode() OVERRIDE; 209 virtual void clearFocusedNode() OVERRIDE;
210 virtual void clearFocusedElement() OVERRIDE;
209 virtual void scrollFocusedNodeIntoView() OVERRIDE; 211 virtual void scrollFocusedNodeIntoView() OVERRIDE;
210 virtual void scrollFocusedNodeIntoRect(const WebRect&) OVERRIDE; 212 virtual void scrollFocusedNodeIntoRect(const WebRect&) OVERRIDE;
211 virtual void zoomToFindInPageRect(const WebRect&) OVERRIDE; 213 virtual void zoomToFindInPageRect(const WebRect&) OVERRIDE;
212 virtual void advanceFocus(bool reverse) OVERRIDE; 214 virtual void advanceFocus(bool reverse) OVERRIDE;
213 virtual double zoomLevel() OVERRIDE; 215 virtual double zoomLevel() OVERRIDE;
214 virtual double setZoomLevel(double) OVERRIDE; 216 virtual double setZoomLevel(double) OVERRIDE;
215 virtual void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLe vel) OVERRIDE; 217 virtual void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLe vel) OVERRIDE;
216 virtual float textZoomFactor() OVERRIDE; 218 virtual float textZoomFactor() OVERRIDE;
217 virtual float setTextZoomFactor(float) OVERRIDE; 219 virtual float setTextZoomFactor(float) OVERRIDE;
218 virtual void setInitialPageScaleOverride(float) OVERRIDE; 220 virtual void setInitialPageScaleOverride(float) OVERRIDE;
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 Vector<WebHelperPluginImpl*> m_helperPluginsPendingClose; 790 Vector<WebHelperPluginImpl*> m_helperPluginsPendingClose;
789 }; 791 };
790 792
791 // We have no ways to check if the specified WebView is an instance of 793 // We have no ways to check if the specified WebView is an instance of
792 // WebViewImpl because WebViewImpl is the only implementation of WebView. 794 // WebViewImpl because WebViewImpl is the only implementation of WebView.
793 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 795 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
794 796
795 } // namespace blink 797 } // namespace blink
796 798
797 #endif 799 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698