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

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: Made Windows happy and brought back bool return because fake tests. 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 float topControlsHeight, 181 float topControlsHeight,
182 bool topControlsShrinkLayout) override; 182 bool topControlsShrinkLayout) override;
183 WebFrame* mainFrame() override; 183 WebFrame* mainFrame() override;
184 WebFrame* findFrameByName( 184 WebFrame* findFrameByName(
185 const WebString& name, WebFrame* relativeToFrame) override; 185 const WebString& name, WebFrame* relativeToFrame) override;
186 WebFrame* focusedFrame() override; 186 WebFrame* focusedFrame() override;
187 void setFocusedFrame(WebFrame*) override; 187 void setFocusedFrame(WebFrame*) override;
188 void focusDocumentView(WebFrame*) override; 188 void focusDocumentView(WebFrame*) override;
189 void setInitialFocus(bool reverse) override; 189 void setInitialFocus(bool reverse) override;
190 void clearFocusedElement() override; 190 void clearFocusedElement() override;
191 bool scrollFocusedNodeIntoRect(const WebRect&) override; 191 bool scrollFocusedEditableElementIntoRect(const WebRect&) override;
192 void smoothScroll(int targetX, int targetY, long durationMs) override; 192 void smoothScroll(int targetX, int targetY, long durationMs) override;
193 void zoomToFindInPageRect(const WebRect&); 193 void zoomToFindInPageRect(const WebRect&);
194 void advanceFocus(bool reverse) override; 194 void advanceFocus(bool reverse) override;
195 void advanceFocusAcrossFrames(WebFocusType, WebRemoteFrame* from, WebLocalFr ame* to) override; 195 void advanceFocusAcrossFrames(WebFocusType, WebRemoteFrame* from, WebLocalFr ame* to) override;
196 double zoomLevel() override; 196 double zoomLevel() override;
197 double setZoomLevel(double) override; 197 double setZoomLevel(double) override;
198 void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) ove rride; 198 void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) ove rride;
199 float textZoomFactor() override; 199 float textZoomFactor() override;
200 float setTextZoomFactor(float) override; 200 float setTextZoomFactor(float) override;
201 bool zoomToMultipleTargetsRect(const WebRect&) override; 201 bool zoomToMultipleTargetsRect(const WebRect&) override;
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 double m_lastFrameTimeMonotonic; 756 double m_lastFrameTimeMonotonic;
757 }; 757 };
758 758
759 // We have no ways to check if the specified WebView is an instance of 759 // We have no ways to check if the specified WebView is an instance of
760 // WebViewImpl because WebViewImpl is the only implementation of WebView. 760 // WebViewImpl because WebViewImpl is the only implementation of WebView.
761 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 761 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
762 762
763 } // namespace blink 763 } // namespace blink
764 764
765 #endif 765 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebElement.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698