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

Side by Side Diff: public/web/WebView.h

Issue 919423002: Audited and renamed uses of methods and variables named RootView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Build fix Created 5 years, 10 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) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011, 2012 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 170
171 // Focus the first (last if reverse is true) focusable node. 171 // Focus the first (last if reverse is true) focusable node.
172 virtual void setInitialFocus(bool reverse) = 0; 172 virtual void setInitialFocus(bool reverse) = 0;
173 173
174 // Clears the focused element (and selection if a text field is focused) 174 // Clears the focused element (and selection if a text field is focused)
175 // to ensure that a text field on the page is not eating keystrokes we 175 // to ensure that a text field on the page is not eating keystrokes we
176 // send it. 176 // send it.
177 virtual void clearFocusedElement() = 0; 177 virtual void clearFocusedElement() = 0;
178 178
179 // Scrolls the node currently in focus into |rect|, where |rect| is in 179 // Scrolls the node currently in focus into |rect|, where |rect| is in
180 // window space. Returns true if an animation was started. 180 // viewport space. Returns true if an animation was started.
181 virtual bool scrollFocusedNodeIntoRect(const WebRect&) { return false; } 181 virtual bool scrollFocusedNodeIntoRect(const WebRect&) { return false; }
182 182
183 // Advance the focus of the WebView forward to the next element or to the 183 // Advance the focus of the WebView forward to the next element or to the
184 // previous element in the tab sequence (if reverse is true). 184 // previous element in the tab sequence (if reverse is true).
185 virtual void advanceFocus(bool reverse) { } 185 virtual void advanceFocus(bool reverse) { }
186 186
187 // Animate a scale into the specified find-in-page rect. 187 // Animate a scale into the specified find-in-page rect.
188 virtual void zoomToFindInPageRect(const WebRect&) = 0; 188 virtual void zoomToFindInPageRect(const WebRect&) = 0;
189 189
190 // Animate a scale into the specified rect where multiple targets were 190 // Animate a scale into the specified rect where multiple targets were
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 // event gets generated/tested. 494 // event gets generated/tested.
495 virtual void forceNextWebGLContextCreationToFail() = 0; 495 virtual void forceNextWebGLContextCreationToFail() = 0;
496 496
497 protected: 497 protected:
498 ~WebView() {} 498 ~WebView() {}
499 }; 499 };
500 500
501 } // namespace blink 501 } // namespace blink
502 502
503 #endif 503 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698