devtools_ui.h 776 B

12345678910111213141516171819202122232425
  1. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE-CHROMIUM file.
  4. #ifndef ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_UI_H_
  5. #define ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_UI_H_
  6. #include "content/public/browser/browser_context.h"
  7. #include "content/public/browser/web_ui_controller.h"
  8. namespace electron {
  9. class DevToolsUI : public content::WebUIController {
  10. public:
  11. explicit DevToolsUI(content::BrowserContext* browser_context,
  12. content::WebUI* web_ui);
  13. // disable copy
  14. DevToolsUI(const DevToolsUI&) = delete;
  15. DevToolsUI& operator=(const DevToolsUI&) = delete;
  16. };
  17. } // namespace electron
  18. #endif // ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_UI_H_