mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Move WebView Android files to FB internal
Summary: This moves the Java files to FB internal and updates all the buck files Reviewed By: TheSavior Differential Revision: D14622521 fbshipit-source-id: a8d293e9f9e08868cca3ed2986a08d0db16dec15
This commit is contained in:
1 parent
556aa93ed7
commit
1ca9a95537
10 files changed
+1
-1001
No files matched your search
@@ -129,7 +129,7 @@ public abstract class ViewManager<T extends View, C extends ReactShadowNode>
|
||||
/**
|
||||
* Subclasses may use this method to receive events/commands directly from JS through the
|
||||
* {@link UIManager}. Good example of such a command would be {@code scrollTo} request with
|
||||
* coordinates for a {@link ScrollView} or {@code goBack} request for a {@link WebView} instance.
|
||||
* coordinates for a {@link ScrollView} instance.
|
||||
*
|
||||
* @param root View instance that should receive the command
|
||||
* @param commandId code of the command
|
||||
@@ -144,18 +144,6 @@ public abstract class ViewManager<T extends View, C extends ReactShadowNode>
|
||||
* map between names of the commands and IDs that are then used in {@link #receiveCommand} method
|
||||
* whenever the command is dispatched for this particular {@link ViewManager}.
|
||||
*
|
||||
* As an example we may consider {@link ReactWebViewManager} that expose the following commands:
|
||||
* goBack, goForward, reload. In this case the map returned from {@link #getCommandsMap} from
|
||||
* {@link ReactWebViewManager} will look as follows:
|
||||
* {
|
||||
* "goBack": 1,
|
||||
* "goForward": 2,
|
||||
* "reload": 3,
|
||||
* }
|
||||
*
|
||||
* Now assuming that "reload" command is dispatched through {@link UIManagerModule} we trigger
|
||||
* {@link ReactWebViewManager#receiveCommand} passing "3" as {@code commandId} argument.
|
||||
*
|
||||
* @return map of string to int mapping of the expected commands
|
||||
*/
|
||||
public @Nullable Map<String, Integer> getCommandsMap() {
|
||||
|
||||
Reference in new issue
Block a user