feat: Expose renderer spellcheck API (#25060)
This commit is contained in:
		
					parent
					
						
							
								321395d96e
							
						
					
				
			
			
				commit
				
					
						05b5c197ae
					
				
			
		
					 5 changed files with 88 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -26,6 +26,8 @@ class ElectronRendererClient : public RendererClientBase {
 | 
			
		|||
  ElectronRendererClient();
 | 
			
		||||
  ~ElectronRendererClient() override;
 | 
			
		||||
 | 
			
		||||
  static ElectronRendererClient* Get();
 | 
			
		||||
 | 
			
		||||
  // electron::RendererClientBase:
 | 
			
		||||
  void DidCreateScriptContext(v8::Handle<v8::Context> context,
 | 
			
		||||
                              content::RenderFrame* render_frame) override;
 | 
			
		||||
| 
						 | 
				
			
			@ -70,6 +72,8 @@ class ElectronRendererClient : public RendererClientBase {
 | 
			
		|||
  // assertion, so we have to keep a book of injected web frames.
 | 
			
		||||
  std::set<content::RenderFrame*> injected_frames_;
 | 
			
		||||
 | 
			
		||||
  static ElectronRendererClient* self_;
 | 
			
		||||
 | 
			
		||||
  DISALLOW_COPY_AND_ASSIGN(ElectronRendererClient);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue