* chore: bump chromium in DEPS to 93.0.4536.0 * chore: update patches * [2918475] Make InkDrop a View class property Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2918475 Replace old views::Button::ink_drop() calls with views::InkDrop::Get() * [2935942] Convert use of gfx::ImageSkia to ui::ImageModel for WidgetDelegates Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2935942 Update GetWindowIcon(), GetWindowAppIcon(), and GetDevToolsWindowIcon() to return ui::ImageModel instead of gfx::ImageSkia. Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			1.1 KiB
			
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			1.1 KiB
			
		
	
	
	
		
			C++
		
	
	
	
	
	
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
 | 
						|
// Copyright (c) 2013 Adam Roben <adam@roben.org>. All rights reserved.
 | 
						|
// Use of this source code is governed by a BSD-style license that can be
 | 
						|
// found in the LICENSE-CHROMIUM file.
 | 
						|
 | 
						|
#ifndef SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_
 | 
						|
#define SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_
 | 
						|
 | 
						|
#include <string>
 | 
						|
 | 
						|
#include "ui/base/models/image_model.h"
 | 
						|
 | 
						|
namespace electron {
 | 
						|
 | 
						|
class InspectableWebContentsViewDelegate {
 | 
						|
 public:
 | 
						|
  virtual ~InspectableWebContentsViewDelegate() {}
 | 
						|
 | 
						|
  virtual void DevToolsFocused() {}
 | 
						|
  virtual void DevToolsOpened() {}
 | 
						|
  virtual void DevToolsClosed() {}
 | 
						|
  virtual void DevToolsResized() {}
 | 
						|
 | 
						|
  // Returns the icon of devtools window.
 | 
						|
  virtual ui::ImageModel GetDevToolsWindowIcon();
 | 
						|
 | 
						|
#if defined(OS_LINUX)
 | 
						|
  // Called when creating devtools window.
 | 
						|
  virtual void GetDevToolsWindowWMClass(std::string* name,
 | 
						|
                                        std::string* class_name) {}
 | 
						|
#endif
 | 
						|
};
 | 
						|
 | 
						|
}  // namespace electron
 | 
						|
 | 
						|
#endif  // SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_
 |