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

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

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_MOJO_WEB_UI_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_MOJO_WEB_UI_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_MOJO_WEB_UI_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_MOJO_WEB_UI_CONTROLLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "chrome/browser/ui/webui/mojo_web_ui_handler.h" 12 #include "chrome/browser/ui/webui/mojo_web_ui_handler.h"
13 #include "content/public/browser/render_frame_host.h" 13 #include "content/public/browser/render_frame_host.h"
14 #include "content/public/browser/render_view_host.h" 14 #include "content/public/browser/render_view_host.h"
15 #include "content/public/browser/web_ui_controller.h" 15 #include "content/public/browser/web_ui_controller.h"
16 #include "content/public/common/service_registry.h" 16 #include "content/public/common/service_registry.h"
17 #include "third_party/mojo/src/mojo/public/cpp/system/core.h" 17 #include "mojo/public/cpp/system/core.h"
18 18
19 class MojoWebUIHandler; 19 class MojoWebUIHandler;
20 20
21 namespace content { 21 namespace content {
22 class WebUIDataSource; 22 class WebUIDataSource;
23 } 23 }
24 24
25 class MojoWebUIControllerBase : public content::WebUIController { 25 class MojoWebUIControllerBase : public content::WebUIController {
26 public: 26 public:
27 explicit MojoWebUIControllerBase(content::WebUI* contents); 27 explicit MojoWebUIControllerBase(content::WebUI* contents);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // Invoked to create the specific bindings implementation. 67 // Invoked to create the specific bindings implementation.
68 virtual void BindUIHandler(mojo::InterfaceRequest<Interface> request) = 0; 68 virtual void BindUIHandler(mojo::InterfaceRequest<Interface> request) = 0;
69 69
70 private: 70 private:
71 base::WeakPtrFactory<MojoWebUIController> weak_factory_; 71 base::WeakPtrFactory<MojoWebUIController> weak_factory_;
72 72
73 DISALLOW_COPY_AND_ASSIGN(MojoWebUIController); 73 DISALLOW_COPY_AND_ASSIGN(MojoWebUIController);
74 }; 74 };
75 75
76 #endif // CHROME_BROWSER_UI_WEBUI_MOJO_WEB_UI_CONTROLLER_H_ 76 #endif // CHROME_BROWSER_UI_WEBUI_MOJO_WEB_UI_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/engagement/site_engagement_ui.cc ('k') | chrome/browser/ui/webui/mojo_web_ui_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698