chore: use consistent parameter names (#26162)
This commit is contained in:
parent
52fd855ad4
commit
d8167ce138
12 changed files with 20 additions and 19 deletions
|
@ -90,7 +90,7 @@ class Notification : public gin::Wrappable<Notification>,
|
|||
void SetSound(const base::string16& sound);
|
||||
void SetActions(const std::vector<electron::NotificationAction>& actions);
|
||||
void SetCloseButtonText(const base::string16& text);
|
||||
void SetToastXml(const base::string16& text);
|
||||
void SetToastXml(const base::string16& new_toast_xml);
|
||||
|
||||
private:
|
||||
base::string16 title_;
|
||||
|
|
|
@ -63,7 +63,7 @@ class SimpleURLLoaderWrapper
|
|||
const char* GetTypeName() override;
|
||||
|
||||
private:
|
||||
SimpleURLLoaderWrapper(std::unique_ptr<network::ResourceRequest> loader,
|
||||
SimpleURLLoaderWrapper(std::unique_ptr<network::ResourceRequest> request,
|
||||
network::mojom::URLLoaderFactory* url_loader_factory,
|
||||
int options);
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@ class View : public gin_helper::Wrappable<View> {
|
|||
v8::Local<v8::FunctionTemplate> prototype);
|
||||
|
||||
#if BUILDFLAG(ENABLE_VIEWS_API)
|
||||
void AddChildView(gin::Handle<View> view);
|
||||
void AddChildViewAt(gin::Handle<View> view, size_t index);
|
||||
void AddChildView(gin::Handle<View> child);
|
||||
void AddChildViewAt(gin::Handle<View> child, size_t index);
|
||||
#endif
|
||||
|
||||
views::View* view() const { return view_; }
|
||||
|
|
|
@ -32,7 +32,7 @@ class MessagePort : public gin::Wrappable<MessagePort>, mojo::MessageReceiver {
|
|||
void Start();
|
||||
void Close();
|
||||
|
||||
void Entangle(blink::MessagePortDescriptor handle);
|
||||
void Entangle(blink::MessagePortDescriptor port);
|
||||
void Entangle(blink::MessagePortChannel channel);
|
||||
|
||||
blink::MessagePortChannel Disentangle();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue