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

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

Issue 2455133005: Remove FrameMsg_ClearFocusedFrame. (Closed)
Patch Set: Created 4 years, 1 month 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 | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 void setOpenedByDOM() override; 179 void setOpenedByDOM() override;
180 void resizeWithTopControls(const WebSize&, 180 void resizeWithTopControls(const WebSize&,
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(const WebString& name, 184 WebFrame* findFrameByName(const WebString& name,
185 WebFrame* relativeToFrame) override; 185 WebFrame* relativeToFrame) override;
186 WebLocalFrame* focusedFrame() override; 186 WebLocalFrame* focusedFrame() override;
187 void setFocusedFrame(WebFrame*) override; 187 void setFocusedFrame(WebFrame*) override;
188 void focusDocumentView(WebFrame*) override; 188 void focusDocumentView(WebFrame*) override;
189 void unfocusDocumentView() override;
190 void setInitialFocus(bool reverse) override; 189 void setInitialFocus(bool reverse) override;
191 void clearFocusedElement() override; 190 void clearFocusedElement() override;
192 bool scrollFocusedEditableElementIntoRect(const WebRect&) override; 191 bool scrollFocusedEditableElementIntoRect(const WebRect&) override;
193 void smoothScroll(int targetX, int targetY, long durationMs) override; 192 void smoothScroll(int targetX, int targetY, long durationMs) override;
194 void zoomToFindInPageRect(const WebRect&); 193 void zoomToFindInPageRect(const WebRect&);
195 void advanceFocus(bool reverse) override; 194 void advanceFocus(bool reverse) override;
196 void advanceFocusAcrossFrames(WebFocusType, 195 void advanceFocusAcrossFrames(WebFocusType,
197 WebRemoteFrame* from, 196 WebRemoteFrame* from,
198 WebLocalFrame* to) override; 197 WebLocalFrame* to) override;
199 double zoomLevel() override; 198 double zoomLevel() override;
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 771 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
773 }; 772 };
774 773
775 // We have no ways to check if the specified WebView is an instance of 774 // We have no ways to check if the specified WebView is an instance of
776 // WebViewImpl because WebViewImpl is the only implementation of WebView. 775 // WebViewImpl because WebViewImpl is the only implementation of WebView.
777 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 776 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
778 777
779 } // namespace blink 778 } // namespace blink
780 779
781 #endif 780 #endif
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698