electron/shell/browser/ui/devtools_ui.h
trop[bot] eddae27077
fix: add theme data source for devtools. (#44635)
* fix: add theme data source for devtools.

Co-authored-by: Bill Shen <shenyb32768@gmail.com>

* chore: add ut.

Co-authored-by: bill.shen <shenyb32768@gmail.com>

* chore: remove recording histograms

Co-authored-by: Bill Shen <shenyb32768@gmail.com>

* fix: add theme data source for devtools.

Co-authored-by: Bill Shen <shenyb32768@gmail.com>

* chore: separate files

Co-authored-by: Bill Shen <shenyb32768@gmail.com>

* chore: separate files

Co-authored-by: Bill Shen <shenyb32768@gmail.com>

* chore: remove pragma once

Co-authored-by: Bill Shen <shenyb32768@gmail.com>

* chore: fix lint issue.

Co-authored-by: bill.shen <shenyb32768@gmail.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Bill Shen <shenyb32768@gmail.com>
2024-11-13 16:04:39 +01:00

26 lines
812 B
C++

// Copyright (c) 2011 The Chromium Authors. 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 ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_UI_H_
#define ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_UI_H_
#include "content/public/browser/browser_context.h"
#include "content/public/browser/web_ui_controller.h"
namespace electron {
class DevToolsUI : public content::WebUIController {
public:
explicit DevToolsUI(content::BrowserContext* browser_context,
content::WebUI* web_ui);
~DevToolsUI() override = default;
// disable copy
DevToolsUI(const DevToolsUI&) = delete;
DevToolsUI& operator=(const DevToolsUI&) = delete;
};
} // namespace electron
#endif // ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_UI_H_