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

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

Issue 1990553002: Remove RenderViewImpl::GetFocusedElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 float topControlsHeight, 180 float topControlsHeight,
181 bool topControlsShrinkLayout) override; 181 bool topControlsShrinkLayout) override;
182 WebFrame* mainFrame() override; 182 WebFrame* mainFrame() override;
183 WebFrame* findFrameByName( 183 WebFrame* findFrameByName(
184 const WebString& name, WebFrame* relativeToFrame) override; 184 const WebString& name, WebFrame* relativeToFrame) override;
185 WebFrame* focusedFrame() override; 185 WebFrame* focusedFrame() override;
186 void setFocusedFrame(WebFrame*) override; 186 void setFocusedFrame(WebFrame*) override;
187 void focusDocumentView(WebFrame*) override; 187 void focusDocumentView(WebFrame*) override;
188 void setInitialFocus(bool reverse) override; 188 void setInitialFocus(bool reverse) override;
189 void clearFocusedElement() override; 189 void clearFocusedElement() override;
190 bool scrollFocusedNodeIntoRect(const WebRect&) override; 190 bool scrollFocusedEditableElementIntoRect(const WebRect&, bool& willAnimate) override;
191 void smoothScroll(int targetX, int targetY, long durationMs) override; 191 void smoothScroll(int targetX, int targetY, long durationMs) override;
192 void zoomToFindInPageRect(const WebRect&); 192 void zoomToFindInPageRect(const WebRect&);
193 void advanceFocus(bool reverse) override; 193 void advanceFocus(bool reverse) override;
194 void advanceFocusAcrossFrames(WebFocusType, WebRemoteFrame* from, WebLocalFr ame* to) override; 194 void advanceFocusAcrossFrames(WebFocusType, WebRemoteFrame* from, WebLocalFr ame* to) override;
195 double zoomLevel() override; 195 double zoomLevel() override;
196 double setZoomLevel(double) override; 196 double setZoomLevel(double) override;
197 void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) ove rride; 197 void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) ove rride;
198 float textZoomFactor() override; 198 float textZoomFactor() override;
199 float setTextZoomFactor(float) override; 199 float setTextZoomFactor(float) override;
200 bool zoomToMultipleTargetsRect(const WebRect&) override; 200 bool zoomToMultipleTargetsRect(const WebRect&) override;
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 double m_lastFrameTimeMonotonic; 755 double m_lastFrameTimeMonotonic;
756 }; 756 };
757 757
758 // We have no ways to check if the specified WebView is an instance of 758 // We have no ways to check if the specified WebView is an instance of
759 // WebViewImpl because WebViewImpl is the only implementation of WebView. 759 // WebViewImpl because WebViewImpl is the only implementation of WebView.
760 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 760 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
761 761
762 } // namespace blink 762 } // namespace blink
763 763
764 #endif 764 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698