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

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

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

Powered by Google App Engine
This is Rietveld 408576698