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

Side by Side Diff: chrome/browser/ui/ash/session_state_delegate_views.cc

Issue 200483004: Show avatar icon on V2 app's frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "chrome/browser/ui/ash/session_state_delegate_views.h" 5 #include "chrome/browser/ui/ash/session_state_delegate_views.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "ui/gfx/image/image_skia.h" 10 #include "ui/gfx/image/image_skia.h"
11 11
12 namespace { 12 namespace {
13 // This isn't really used. It is mainly here to make the compiler happy. 13 // This isn't really used. It is mainly here to make the compiler happy.
14 gfx::ImageSkia null_image; 14 gfx::ImageSkia null_image;
15 } 15 }
16 16
17 SessionStateDelegate::SessionStateDelegate() { 17 SessionStateDelegate::SessionStateDelegate() {
18 } 18 }
19 19
20 SessionStateDelegate::~SessionStateDelegate() { 20 SessionStateDelegate::~SessionStateDelegate() {
21 } 21 }
22 22
23 content::BrowserContext* SessionStateDelegate::GetBrowserContextByIndex( 23 content::BrowserContext* SessionStateDelegate::GetBrowserContextByIndex(
24 ash::MultiProfileIndex index) { 24 ash::MultiProfileIndex index) {
25 NOTIMPLEMENTED(); 25 NOTIMPLEMENTED();
26 return NULL; 26 return NULL;
27 } 27 }
28 28
29 content::BrowserContext* SessionStateDelegate::GetBrowserContextForWindow(
30 aura::Window* window) {
31 NOTIMPLEMENTED();
32 return NULL;
33 }
34
29 int SessionStateDelegate::GetMaximumNumberOfLoggedInUsers() const { 35 int SessionStateDelegate::GetMaximumNumberOfLoggedInUsers() const {
30 return 3; 36 return 3;
31 } 37 }
32 38
33 int SessionStateDelegate::NumberOfLoggedInUsers() const { 39 int SessionStateDelegate::NumberOfLoggedInUsers() const {
34 return 1; 40 return 1;
35 } 41 }
36 42
37 bool SessionStateDelegate::IsActiveUserSessionStarted() const { 43 bool SessionStateDelegate::IsActiveUserSessionStarted() const {
38 return true; 44 return true;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 105
100 void SessionStateDelegate::AddSessionStateObserver( 106 void SessionStateDelegate::AddSessionStateObserver(
101 ash::SessionStateObserver* observer) { 107 ash::SessionStateObserver* observer) {
102 NOTIMPLEMENTED(); 108 NOTIMPLEMENTED();
103 } 109 }
104 110
105 void SessionStateDelegate::RemoveSessionStateObserver( 111 void SessionStateDelegate::RemoveSessionStateObserver(
106 ash::SessionStateObserver* observer) { 112 ash::SessionStateObserver* observer) {
107 NOTIMPLEMENTED(); 113 NOTIMPLEMENTED();
108 } 114 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/session_state_delegate_views.h ('k') | chrome/browser/ui/views/frame/browser_header_painter_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698