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

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

Issue 2907663004: FrameTree::Find only searches relative to local frames. (Closed)
Patch Set: Rebasing... Created 3 years, 6 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 void SetTabKeyCyclesThroughElements(bool value) override; 166 void SetTabKeyCyclesThroughElements(bool value) override;
167 bool IsActive() const override; 167 bool IsActive() const override;
168 void SetIsActive(bool value) override; 168 void SetIsActive(bool value) override;
169 void SetDomainRelaxationForbidden(bool, const WebString& scheme) override; 169 void SetDomainRelaxationForbidden(bool, const WebString& scheme) override;
170 void SetWindowFeatures(const WebWindowFeatures&) override; 170 void SetWindowFeatures(const WebWindowFeatures&) override;
171 void SetOpenedByDOM() override; 171 void SetOpenedByDOM() override;
172 void ResizeWithBrowserControls(const WebSize&, 172 void ResizeWithBrowserControls(const WebSize&,
173 float browser_controls_height, 173 float browser_controls_height,
174 bool browser_controls_shrink_layout) override; 174 bool browser_controls_shrink_layout) override;
175 WebFrame* MainFrame() override; 175 WebFrame* MainFrame() override;
176 WebFrame* FindFrameByName(const WebString& name,
177 WebFrame* relative_to_frame) override;
178 WebLocalFrame* FocusedFrame() override; 176 WebLocalFrame* FocusedFrame() override;
179 void SetFocusedFrame(WebFrame*) override; 177 void SetFocusedFrame(WebFrame*) override;
180 void FocusDocumentView(WebFrame*) override; 178 void FocusDocumentView(WebFrame*) override;
181 void SetInitialFocus(bool reverse) override; 179 void SetInitialFocus(bool reverse) override;
182 void ClearFocusedElement() override; 180 void ClearFocusedElement() override;
183 bool ScrollFocusedEditableElementIntoRect(const WebRect&) override; 181 bool ScrollFocusedEditableElementIntoRect(const WebRect&) override;
184 void SmoothScroll(int target_x, int target_y, long duration_ms) override; 182 void SmoothScroll(int target_x, int target_y, long duration_ms) override;
185 void ZoomToFindInPageRect(const WebRect&) override; 183 void ZoomToFindInPageRect(const WebRect&) override;
186 void AdvanceFocus(bool reverse) override; 184 void AdvanceFocus(bool reverse) override;
187 void AdvanceFocusAcrossFrames(WebFocusType, 185 void AdvanceFocusAcrossFrames(WebFocusType,
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; 743 Persistent<ResizeViewportAnchor> resize_viewport_anchor_;
746 }; 744 };
747 745
748 // We have no ways to check if the specified WebView is an instance of 746 // We have no ways to check if the specified WebView is an instance of
749 // WebViewImpl because WebViewImpl is the only implementation of WebView. 747 // WebViewImpl because WebViewImpl is the only implementation of WebView.
750 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 748 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
751 749
752 } // namespace blink 750 } // namespace blink
753 751
754 #endif 752 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698