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

Side by Side Diff: chrome/browser/ui/webui/chromeos/mobile_setup_ui.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 CHROME_BROWSER_UI_WEBUI_CHROMEOS_MOBILE_SETUP_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_MOBILE_SETUP_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_MOBILE_SETUP_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_MOBILE_SETUP_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "content/public/browser/web_ui_controller.h" 10 #include "content/public/browser/web_ui_controller.h"
11 11
12 // A custom WebUI that defines datasource for mobile setup registration page 12 // A custom WebUI that defines datasource for mobile setup registration page
13 // that is used in Chrome OS activate modem and perform plan subscription tasks. 13 // that is used in Chrome OS activate modem and perform plan subscription tasks.
14 class MobileSetupUI : public content::WebUIController, 14 class MobileSetupUI : public content::WebUIController,
15 public base::SupportsWeakPtr<MobileSetupUI> { 15 public base::SupportsWeakPtr<MobileSetupUI> {
16 public: 16 public:
17 explicit MobileSetupUI(content::WebUI* web_ui); 17 explicit MobileSetupUI(content::WebUI* web_ui);
18 18
19 private: 19 private:
20 // WebUIController overrides. 20 // WebUIController overrides.
21 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; 21 virtual void RenderViewCreated(
22 content::RenderViewHost* render_view_host) OVERRIDE;
22 23
23 DISALLOW_COPY_AND_ASSIGN(MobileSetupUI); 24 DISALLOW_COPY_AND_ASSIGN(MobileSetupUI);
24 }; 25 };
25 26
26 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_MOBILE_SETUP_UI_H_ 27 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_MOBILE_SETUP_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc ('k') | chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698