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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/base_screen_handler.h

Issue 8986007: Move WebUIMessageHandler to its own file in the public directory and put it in the content namesp... (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
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 CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/browser/webui/web_ui.h" 9 #include "content/public/browser/web_ui_message_handler.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
11 11
12 namespace base { 12 namespace base {
13 class DictionaryValue; 13 class DictionaryValue;
14 } 14 }
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 // Base class for the OOBE/Login WebUI handlers. 18 // Base class for the OOBE/Login WebUI handlers.
19 class BaseScreenHandler : public WebUIMessageHandler { 19 class BaseScreenHandler : public content::WebUIMessageHandler {
20 public: 20 public:
21 BaseScreenHandler(); 21 BaseScreenHandler();
22 virtual ~BaseScreenHandler(); 22 virtual ~BaseScreenHandler();
23 23
24 // Gets localized strings to be used on the page. 24 // Gets localized strings to be used on the page.
25 virtual void GetLocalizedStrings( 25 virtual void GetLocalizedStrings(
26 base::DictionaryValue* localized_strings) = 0; 26 base::DictionaryValue* localized_strings) = 0;
27 27
28 // This method is called when page is ready. It propagates to inherited class 28 // This method is called when page is ready. It propagates to inherited class
29 // via virtual Initialize() method (see below). 29 // via virtual Initialize() method (see below).
(...skipping 16 matching lines...) Expand all
46 private: 46 private:
47 // Keeps whether page is ready. 47 // Keeps whether page is ready.
48 bool page_is_ready_; 48 bool page_is_ready_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(BaseScreenHandler); 50 DISALLOW_COPY_AND_ASSIGN(BaseScreenHandler);
51 }; 51 };
52 52
53 } // namespace chromeos 53 } // namespace chromeos
54 54
55 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_ 55 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_BASE_SCREEN_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc ('k') | chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698