Skip to content

context_menus generate additional import on IDL Revision 283104  #187

@adam-singer

Description

@adam-singer

The import 'context_menus_internal.dart'; does not exist.

diff --git a/lib/gen/context_menus.dart b/lib/gen/context_menus.dart
index 593872f..53ae6c4 100644
--- a/lib/gen/context_menus.dart
+++ b/lib/gen/context_menus.dart
@@ -7,6 +7,8 @@
  */
 library chrome.contextMenus;

+import 'context_menus_internal.dart';
+import 'tabs.dart';
 import '../src/common.dart';

 /**
@@ -31,11 +33,11 @@ class ChromeContextMenus extends ChromeApi {
    * Creates a new context menu item. Note that if an error occurs during
    * creation, you may not find out until the creation callback fires (the
    * details will be in chrome.runtime.lastError).
-   *
+   * 
    * [callback] Called when the item has been created in the browser. If there
    * were any problems creating the item, details will be available in
    * chrome.runtime.lastError.
-   *
+   * 
    * Returns:
    * The ID of the newly created item.
    */
@@ -47,9 +49,9 @@ class ChromeContextMenus extends ChromeApi {

   /**
    * Updates a previously created context menu item.
-   *
+   * 
    * [id] The ID of the item to update.
-   *
+   * 
    * [updateProperties] The properties to update. Accepts the same values as the
    * create function.
    */
@@ -63,7 +65,7 @@ class ChromeContextMenus extends ChromeApi {

   /**
    * Removes a context menu item.
-   *
+   * 
    * [menuItemId] The ID of the context menu item to remove.
    */
   Future remove(dynamic menuItemId) {

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions