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

Unified Diff: chrome/browser/ui/webui/media/media_internals_handler.h

Issue 12153002: Move chrome://media-internals to content. This allows us to hide implementation details from the pu… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/media/media_internals_handler.h
===================================================================
--- chrome/browser/ui/webui/media/media_internals_handler.h (revision 179909)
+++ chrome/browser/ui/webui/media/media_internals_handler.h (working copy)
@@ -1,40 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_MEDIA_INTERNALS_HANDLER_H_
-#define CHROME_BROWSER_UI_WEBUI_MEDIA_MEDIA_INTERNALS_HANDLER_H_
-
-#include "base/compiler_specific.h"
-#include "base/memory/ref_counted.h"
-#include "content/public/browser/web_ui_message_handler.h"
-
-class MediaInternalsProxy;
-
-namespace base {
-class ListValue;
-}
-
-// This class handles messages to and from MediaInternalsUI.
-// It does all its work on the IO thread through the proxy below.
-class MediaInternalsMessageHandler : public content::WebUIMessageHandler {
- public:
- MediaInternalsMessageHandler();
- virtual ~MediaInternalsMessageHandler();
-
- // WebUIMessageHandler implementation.
- virtual void RegisterMessages() OVERRIDE;
-
- // Javascript message handlers.
- void OnGetEverything(const base::ListValue* list);
-
- // MediaInternals message handlers.
- void OnUpdate(const string16& update);
-
- private:
- scoped_refptr<MediaInternalsProxy> proxy_;
-
- DISALLOW_COPY_AND_ASSIGN(MediaInternalsMessageHandler);
-};
-
-#endif // CHROME_BROWSER_UI_WEBUI_MEDIA_MEDIA_INTERNALS_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698