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

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

Issue 466793002: [cleanup] Removed dead code from avatar selection screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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_LOGIN_USER_IMAGE_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_IMAGE_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_IMAGE_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_IMAGE_SCREEN_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 25 matching lines...) Expand all
36 virtual void SetDelegate( 36 virtual void SetDelegate(
37 UserImageScreenActor::Delegate* screen) OVERRIDE; 37 UserImageScreenActor::Delegate* screen) OVERRIDE;
38 virtual void Show() OVERRIDE; 38 virtual void Show() OVERRIDE;
39 virtual void Hide() OVERRIDE; 39 virtual void Hide() OVERRIDE;
40 virtual void PrepareToShow() OVERRIDE; 40 virtual void PrepareToShow() OVERRIDE;
41 41
42 virtual void SelectImage(int index) OVERRIDE; 42 virtual void SelectImage(int index) OVERRIDE;
43 virtual void SendProfileImage(const std::string& data_url) OVERRIDE; 43 virtual void SendProfileImage(const std::string& data_url) OVERRIDE;
44 virtual void OnProfileImageAbsent() OVERRIDE; 44 virtual void OnProfileImageAbsent() OVERRIDE;
45 45
46 virtual void SetProfilePictureEnabled(bool enabled) OVERRIDE;
47
48 virtual void SetCameraPresent(bool enabled) OVERRIDE; 46 virtual void SetCameraPresent(bool enabled) OVERRIDE;
49 47
50 virtual void HideCurtain() OVERRIDE; 48 virtual void HideCurtain() OVERRIDE;
51 49
52 private: 50 private:
53 51
54 // Sends image data to the page. 52 // Sends image data to the page.
55 void HandleGetImages(); 53 void HandleGetImages();
56 54
57 // Screen ready to be shown. 55 // Screen ready to be shown.
(...skipping 28 matching lines...) Expand all
86 bool is_ready_; 84 bool is_ready_;
87 85
88 base::Time screen_show_time_; 86 base::Time screen_show_time_;
89 87
90 DISALLOW_COPY_AND_ASSIGN(UserImageScreenHandler); 88 DISALLOW_COPY_AND_ASSIGN(UserImageScreenHandler);
91 }; 89 };
92 90
93 } // namespace chromeos 91 } // namespace chromeos
94 92
95 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_IMAGE_SCREEN_HANDLER_H_ 93 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_IMAGE_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698