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

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

Issue 7272036: Make MediaInternalsUI talk to MediaInternals. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Moving MediaInternalsProxy to its own file. Created 9 years, 5 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 CHROME_BROWSER_UI_WEBUI_MEDIA_INTERNALS_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_INTERNALS_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_INTERNALS_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_INTERNALS_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/webui/chrome_web_ui.h" 9 #include "chrome/browser/ui/webui/chrome_web_ui.h"
10 10
11 class MediaInternalsProxy;
12
11 // The implementation for the chrome://media-internals page. 13 // The implementation for the chrome://media-internals page.
12 class MediaInternalsUI : public ChromeWebUI { 14 class MediaInternalsUI : public ChromeWebUI {
13 public: 15 public:
14 explicit MediaInternalsUI(TabContents* contents); 16 explicit MediaInternalsUI(TabContents* contents);
17 virtual ~MediaInternalsUI();
18
19 virtual void OnWebUISend(const GURL& source_url,
20 const std::string& name,
21 const ListValue& args) OVERRIDE;
22
23 virtual void OnUpdate(const string16& update);
15 24
16 private: 25 private:
26 scoped_refptr<MediaInternalsProxy> proxy_;
27
17 DISALLOW_COPY_AND_ASSIGN(MediaInternalsUI); 28 DISALLOW_COPY_AND_ASSIGN(MediaInternalsUI);
18 }; 29 };
19 30
20 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_INTERNALS_UI_H_ 31 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_INTERNALS_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698