devtools_ui.h 812 B

1234567891011121314151617181920212223242526
  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 "base/compiler_specific.h"
  7. #include "content/public/browser/browser_context.h"
  8. #include "content/public/browser/web_ui_controller.h"
  9. namespace electron {
  10. class DevToolsUI : public content::WebUIController {
  11. public:
  12. explicit DevToolsUI(content::BrowserContext* browser_context,
  13. content::WebUI* web_ui);
  14. // disable copy
  15. DevToolsUI(const DevToolsUI&) = delete;
  16. DevToolsUI& operator=(const DevToolsUI&) = delete;
  17. };
  18. } // namespace electron
  19. #endif // ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_UI_H_