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

Side by Side Diff: chrome/browser/ui/webui/media_internals/media_internals_handler.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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_MEDIA_INTERNALS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_INTERNALS_MEDIA_INTERNALS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_INTERNALS_MEDIA_INTERNALS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_INTERNALS_MEDIA_INTERNALS_HANDLER_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; 11 class MediaInternalsProxy;
12 12
13 namespace base {
14 class ListValue;
15 }
16
13 // This class handles messages to and from MediaInternalsUI. 17 // This class handles messages to and from MediaInternalsUI.
14 // It does all its work on the IO thread through the proxy below. 18 // It does all its work on the IO thread through the proxy below.
15 class MediaInternalsMessageHandler : public WebUIMessageHandler { 19 class MediaInternalsMessageHandler : public WebUIMessageHandler {
16 public: 20 public:
17 MediaInternalsMessageHandler(); 21 MediaInternalsMessageHandler();
18 virtual ~MediaInternalsMessageHandler(); 22 virtual ~MediaInternalsMessageHandler();
19 23
20 // WebUIMessageHandler implementation. 24 // WebUIMessageHandler implementation.
21 virtual WebUIMessageHandler* Attach(WebUI* web_ui); 25 virtual WebUIMessageHandler* Attach(WebUI* web_ui);
22 virtual void RegisterMessages(); 26 virtual void RegisterMessages();
23 27
24 // Javascript message handlers. 28 // Javascript message handlers.
25 void OnGetEverything(const ListValue* list); 29 void OnGetEverything(const base::ListValue* list);
26 30
27 // MediaInternals message handlers. 31 // MediaInternals message handlers.
28 void OnUpdate(const string16& update); 32 void OnUpdate(const string16& update);
29 33
30 private: 34 private:
31 scoped_refptr<MediaInternalsProxy> proxy_; 35 scoped_refptr<MediaInternalsProxy> proxy_;
32 36
33 DISALLOW_COPY_AND_ASSIGN(MediaInternalsMessageHandler); 37 DISALLOW_COPY_AND_ASSIGN(MediaInternalsMessageHandler);
34 }; 38 };
35 39
36 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_INTERNALS_MEDIA_INTERNALS_HANDLER_H_ 40 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_INTERNALS_MEDIA_INTERNALS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/html_dialog_ui.h ('k') | chrome/browser/ui/webui/media_internals/media_internals_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698