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

Side by Side Diff: content/browser/tracing/tracing_ui.h

Issue 127703002: Add a mechanism to let TracingController invoke JavaScript via TracingUI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_TRACING_UI_H_ 5 #ifndef CONTENT_BROWSER_TRACING_UI_H_
6 #define CONTENT_BROWSER_TRACING_UI_H_ 6 #define CONTENT_BROWSER_TRACING_UI_H_
7 7
8 #include "content/public/browser/web_ui_controller.h" 8 #include "content/public/browser/web_ui_controller.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 // The C++ back-end for the chrome://tracing webui page. 12 // The C++ back-end for the chrome://tracing webui page.
13 class TracingUI : public WebUIController { 13 class CONTENT_EXPORT TracingUI : public WebUIController {
14 public: 14 public:
15 explicit TracingUI(WebUI* web_ui); 15 explicit TracingUI(WebUI* web_ui);
16 virtual ~TracingUI();
17 void OnMonitoringStateChanged(bool is_monitoring);
16 18
17 private: 19 private:
18 DISALLOW_COPY_AND_ASSIGN(TracingUI); 20 DISALLOW_COPY_AND_ASSIGN(TracingUI);
19 }; 21 };
20 22
21 } // namespace content 23 } // namespace content
22 24
23 #endif // CONTENT_BROWSER_TRACING_UI_H_ 25 #endif // CONTENT_BROWSER_TRACING_UI_H_
OLDNEW
« no previous file with comments | « content/browser/tracing/tracing_controller_impl.cc ('k') | content/browser/tracing/tracing_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698