devtools_ui.h revision 5821806d5e7f356e8fa4b058a389a808ea183019
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 file. 4 5#ifndef CHROME_BROWSER_UI_WEBUI_DEVTOOLS_UI_H_ 6#define CHROME_BROWSER_UI_WEBUI_DEVTOOLS_UI_H_ 7 8#include "base/compiler_specific.h" 9#include "content/public/browser/web_ui_controller.h" 10 11class Profile; 12 13class DevToolsUI : public content::WebUIController { 14 public: 15 static void RegisterDevToolsDataSource(Profile* profile); 16 17 explicit DevToolsUI(content::WebUI* web_ui); 18 19 // WebUIController 20 virtual void RenderViewCreated( 21 content::RenderViewHost* render_view_host) OVERRIDE; 22 23 private: 24 DISALLOW_COPY_AND_ASSIGN(DevToolsUI); 25}; 26 27#endif // CHROME_BROWSER_UI_WEBUI_DEVTOOLS_UI_H_ 28