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

Side by Side Diff: chrome/browser/ui/webui/engagement/site_engagement_ui.h

Issue 1430313003: Change MojoWebUIController to use mojo::StrongBindingSet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-geolocation-untangle
Patch Set: Created 5 years 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 | « no previous file | chrome/browser/ui/webui/engagement/site_engagement_ui.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_ENGAGEMENT_SITE_ENGAGEMENT_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_ENGAGEMENT_SITE_ENGAGEMENT_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_ENGAGEMENT_SITE_ENGAGEMENT_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_ENGAGEMENT_SITE_ENGAGEMENT_UI_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/webui/engagement/site_engagement.mojom.h" 9 #include "chrome/browser/ui/webui/engagement/site_engagement.mojom.h"
10 #include "chrome/browser/ui/webui/engagement/site_engagement_ui_handler.h"
10 #include "chrome/browser/ui/webui/mojo_web_ui_controller.h" 11 #include "chrome/browser/ui/webui/mojo_web_ui_controller.h"
11 12
13 namespace content {
14 class WebUI;
15 }
16
12 // The UI for chrome://site-engagement/. 17 // The UI for chrome://site-engagement/.
13 class SiteEngagementUI : public MojoWebUIController<SiteEngagementUIHandler> { 18 class SiteEngagementUI
19 : public MojoWebUIController<SiteEngagementUIHandlerImpl> {
14 public: 20 public:
15 explicit SiteEngagementUI(content::WebUI* web_ui); 21 explicit SiteEngagementUI(content::WebUI* web_ui);
16 ~SiteEngagementUI() override; 22 ~SiteEngagementUI() override;
17 23
18 private: 24 private:
19 // MojoWebUIController overrides:
20 void BindUIHandler(
21 mojo::InterfaceRequest<SiteEngagementUIHandler> request) override;
22
23 DISALLOW_COPY_AND_ASSIGN(SiteEngagementUI); 25 DISALLOW_COPY_AND_ASSIGN(SiteEngagementUI);
24 }; 26 };
25 27
26 #endif // CHROME_BROWSER_UI_WEBUI_ENGAGEMENT_SITE_ENGAGEMENT_UI_H_ 28 #endif // CHROME_BROWSER_UI_WEBUI_ENGAGEMENT_SITE_ENGAGEMENT_UI_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/engagement/site_engagement_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698