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

Side by Side Diff: content/public/browser/web_ui_controller.h

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_PUBLIC_BROWSER_WEB_UI_CONTROLLER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_UI_CONTROLLER_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_UI_CONTROLLER_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_UI_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 12
13 class GURL; 13 class GURL;
14 class RenderViewHost;
15 14
16 namespace base { 15 namespace base {
17 class ListValue; 16 class ListValue;
18 } 17 }
19 18
20 namespace content { 19 namespace content {
21 20
21 class RenderViewHost;
22 class WebUI; 22 class WebUI;
23 23
24 // A WebUI page is controller by the embedder's WebUIController object. It 24 // A WebUI page is controller by the embedder's WebUIController object. It
25 // manages the data source and message handlers. 25 // manages the data source and message handlers.
26 class CONTENT_EXPORT WebUIController { 26 class CONTENT_EXPORT WebUIController {
27 public: 27 public:
28 explicit WebUIController(WebUI* web_ui) : web_ui_(web_ui) {} 28 explicit WebUIController(WebUI* web_ui) : web_ui_(web_ui) {}
29 virtual ~WebUIController() {} 29 virtual ~WebUIController() {}
30 30
31 // Allows the controller to override handling all messages from the page. 31 // Allows the controller to override handling all messages from the page.
(...skipping 23 matching lines...) Expand all
55 55
56 WebUI* web_ui() const { return web_ui_; } 56 WebUI* web_ui() const { return web_ui_; }
57 57
58 private: 58 private:
59 WebUI* web_ui_; 59 WebUI* web_ui_;
60 }; 60 };
61 61
62 } // namespace content 62 } // namespace content
63 63
64 #endif // CONTENT_PUBLIC_BROWSER_WEB_UI_CONTROLLER_H_ 64 #endif // CONTENT_PUBLIC_BROWSER_WEB_UI_CONTROLLER_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_view_mac_delegate.h ('k') | content/test/js_injection_ready_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698