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

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

Issue 846443006: Include Mojo SDK/EDK via fully-qualified paths in Chromium code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix include to satisfy checkdeps Created 5 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
« no previous file with comments | « chrome/DEPS ('k') | chrome/browser/ui/webui/mojo_web_ui_controller.cc » ('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 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 "mojo/public/cpp/system/core.h" 17 #include "third_party/mojo/src/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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // Invoked to create the specific bindings implementation. 68 // Invoked to create the specific bindings implementation.
69 virtual void BindUIHandler(mojo::InterfaceRequest<Interface> request) = 0; 69 virtual void BindUIHandler(mojo::InterfaceRequest<Interface> request) = 0;
70 70
71 private: 71 private:
72 base::WeakPtrFactory<MojoWebUIController> weak_factory_; 72 base::WeakPtrFactory<MojoWebUIController> weak_factory_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(MojoWebUIController); 74 DISALLOW_COPY_AND_ASSIGN(MojoWebUIController);
75 }; 75 };
76 76
77 #endif // CHROME_BROWSER_UI_WEBUI_MOJO_WEB_UI_CONTROLLER_H_ 77 #endif // CHROME_BROWSER_UI_WEBUI_MOJO_WEB_UI_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/DEPS ('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