Home | History | Annotate | Download | only in browser

Lines Matching refs:id

30   // Returns true if the specified command ID is supported.
31 bool SupportsCommand(int id) const;
33 // Returns true if the specified command ID is enabled. The command ID must be
35 bool IsCommandEnabled(int id) const;
37 // Performs the action associated with this command ID using CURRENT_TAB
41 bool ExecuteCommand(int id);
43 // Performs the action associated with this command ID using the given
47 bool ExecuteCommandWithDisposition(int id, WindowOpenDisposition disposition);
51 void AddCommandObserver(int id, CommandObserver* observer);
54 void RemoveCommandObserver(int id, CommandObserver* observer);
63 void UpdateCommandEnabled(int id, bool state);
70 // Get a Command node for a given command ID, creating an entry if it doesn't
72 Command* GetCommand(int id, bool create);