Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Side by Side Diff: chrome/browser/ui/webui/inspect_ui.h

Issue 9724038: DevTools: convert about:workers into about:inspect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments addressed. Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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_INSPECT_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_
7 #pragma once
8
9 #include "base/memory/ref_counted.h"
10 #include "content/public/browser/notification_observer.h"
11 #include "content/public/browser/notification_registrar.h"
12 #include "content/public/browser/web_ui_controller.h"
13
14 class InspectUI : public content::WebUIController,
15 public content::NotificationObserver {
16 public:
17 explicit InspectUI(content::WebUI* web_ui);
18 virtual ~InspectUI();
19
20 void RefreshUI();
21
22 private:
23 class WorkerCreationDestructionListener;
24
25 // content::NotificationObserver overrides.
26 virtual void Observe(int type,
27 const content::NotificationSource& source,
28 const content::NotificationDetails& details) OVERRIDE;
29
30 scoped_refptr<WorkerCreationDestructionListener> observer_;
31
32 // A scoped container for notification registries.
33 content::NotificationRegistrar registrar_;
34
35 DISALLOW_COPY_AND_ASSIGN(InspectUI);
36 };
37
38 #endif // CHROME_BROWSER_UI_WEBUI_INSPECT_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc ('k') | chrome/browser/ui/webui/inspect_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698