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

Side by Side Diff: chrome/browser/chromeos/login/helper.cc

Issue 448423002: Use a qualified path for grit includes in chrome/browser/chromeos. (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 #include "chrome/browser/chromeos/login/helper.h" 5 #include "chrome/browser/chromeos/login/helper.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/chromeos/login/users/user_manager.h" 10 #include "chrome/browser/chromeos/login/users/user_manager.h"
11 #include "chrome/grit/generated_resources.h"
12 #include "chrome/grit/theme_resources.h"
11 #include "chromeos/chromeos_switches.h" 13 #include "chromeos/chromeos_switches.h"
12 #include "chromeos/network/network_handler.h" 14 #include "chromeos/network/network_handler.h"
13 #include "chromeos/network/network_state.h" 15 #include "chromeos/network/network_state.h"
14 #include "chromeos/network/network_state_handler.h" 16 #include "chromeos/network/network_state_handler.h"
15 #include "grit/generated_resources.h"
16 #include "grit/theme_resources.h"
17 #include "third_party/cros_system_api/dbus/service_constants.h" 17 #include "third_party/cros_system_api/dbus/service_constants.h"
18 #include "ui/base/l10n/l10n_util.h" 18 #include "ui/base/l10n/l10n_util.h"
19 #include "ui/base/resource/resource_bundle.h" 19 #include "ui/base/resource/resource_bundle.h"
20 #include "ui/gfx/image/image_skia.h" 20 #include "ui/gfx/image/image_skia.h"
21 #include "ui/gfx/screen.h" 21 #include "ui/gfx/screen.h"
22 22
23 namespace chromeos { 23 namespace chromeos {
24 24
25 gfx::Rect CalculateScreenBounds(const gfx::Size& size) { 25 gfx::Rect CalculateScreenBounds(const gfx::Size& size) {
26 gfx::Rect bounds(ash::Shell::GetScreen()->GetPrimaryDisplay().bounds()); 26 gfx::Rect bounds(ash::Shell::GetScreen()->GetPrimaryDisplay().bounds());
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 bool NetworkStateHelper::IsConnecting() const { 81 bool NetworkStateHelper::IsConnecting() const {
82 chromeos::NetworkStateHandler* nsh = 82 chromeos::NetworkStateHandler* nsh =
83 chromeos::NetworkHandler::Get()->network_state_handler(); 83 chromeos::NetworkHandler::Get()->network_state_handler();
84 return nsh->ConnectingNetworkByType( 84 return nsh->ConnectingNetworkByType(
85 chromeos::NetworkTypePattern::Default()) != NULL; 85 chromeos::NetworkTypePattern::Default()) != NULL;
86 } 86 }
87 87
88 } // namespace login 88 } // namespace login
89 89
90 } // namespace chromeos 90 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698