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

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

Issue 9188056: Start splitting out WebUI into an implementation class and an interface that each page implements... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 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
« no previous file with comments | « content/public/browser/web_ui_controller.cc ('k') | content/public/common/content_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_BROWSER_WEB_UI_MESSAGE_HANDLER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_UI_MESSAGE_HANDLER_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_UI_MESSAGE_HANDLER_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_UI_MESSAGE_HANDLER_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"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Returns the attached WebUI for this handler. 56 // Returns the attached WebUI for this handler.
57 WebUI* web_ui() const { return web_ui_; } 57 WebUI* web_ui() const { return web_ui_; }
58 58
59 private: 59 private:
60 friend class ::WebUI; 60 friend class ::WebUI;
61 friend class ::WebUIBrowserTest; 61 friend class ::WebUIBrowserTest;
62 62
63 void set_web_ui(WebUI* web_ui) { web_ui_ = web_ui; } 63 void set_web_ui(WebUI* web_ui) { web_ui_ = web_ui; }
64 64
65 WebUI* web_ui_; 65 WebUI* web_ui_;
66
67 DISALLOW_COPY_AND_ASSIGN(WebUIMessageHandler);
68 }; 66 };
69 67
70 } // namespace content 68 } // namespace content
71 69
72 #endif // CONTENT_PUBLIC_BROWSER_WEB_UI_MESSAGE_HANDLER_H_ 70 #endif // CONTENT_PUBLIC_BROWSER_WEB_UI_MESSAGE_HANDLER_H_
73 71
OLDNEW
« no previous file with comments | « content/public/browser/web_ui_controller.cc ('k') | content/public/common/content_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698