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

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: Rebase again 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
« no previous file with comments | « Source/web/tests/PinchViewportTest.cpp ('k') | public/web/WebViewClient.h » ('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) 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 rect where multiple targets were 187 // Animate a scale into the specified rect where multiple targets were
188 // found from previous tap gesture. 188 // found from previous tap gesture.
189 // Returns false if it doesn't do any zooming. 189 // Returns false if it doesn't do any zooming.
190 virtual bool zoomToMultipleTargetsRect(const WebRect&) = 0; 190 virtual bool zoomToMultipleTargetsRect(const WebRect&) = 0;
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 // event gets generated/tested. 491 // event gets generated/tested.
492 virtual void forceNextWebGLContextCreationToFail() = 0; 492 virtual void forceNextWebGLContextCreationToFail() = 0;
493 493
494 protected: 494 protected:
495 ~WebView() {} 495 ~WebView() {}
496 }; 496 };
497 497
498 } // namespace blink 498 } // namespace blink
499 499
500 #endif 500 #endif
OLDNEW
« no previous file with comments | « Source/web/tests/PinchViewportTest.cpp ('k') | public/web/WebViewClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698