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

Side by Side Diff: chrome/browser/chromeos/network_message_observer.cc

Issue 5043001: Cleanup: Include browser.h -> ui/browser.h [Part 1]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/network_message_observer.h" 5 #include "chrome/browser/chromeos/network_message_observer.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/stl_util-inl.h" 9 #include "base/stl_util-inl.h"
10 #include "base/string_number_conversions.h" 10 #include "base/string_number_conversions.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "chrome/browser/browser.h"
13 #include "chrome/browser/browser_list.h" 12 #include "chrome/browser/browser_list.h"
14 #include "chrome/browser/browser_window.h" 13 #include "chrome/browser/browser_window.h"
15 #include "chrome/browser/chromeos/cros/cros_library.h" 14 #include "chrome/browser/chromeos/cros/cros_library.h"
16 #include "chrome/browser/chromeos/cros/network_library.h" 15 #include "chrome/browser/chromeos/cros/network_library.h"
17 #include "chrome/browser/chromeos/notifications/balloon_view_host.h" 16 #include "chrome/browser/chromeos/notifications/balloon_view_host.h"
18 #include "chrome/browser/chromeos/options/network_config_view.h" 17 #include "chrome/browser/chromeos/options/network_config_view.h"
18 #include "chrome/browser/ui/browser.h"
19 #include "chrome/browser/views/window.h" 19 #include "chrome/browser/views/window.h"
20 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
21 #include "grit/theme_resources.h" 21 #include "grit/theme_resources.h"
22 #include "views/window/dialog_delegate.h" 22 #include "views/window/dialog_delegate.h"
23 #include "views/window/window.h" 23 #include "views/window/window.h"
24 24
25 namespace chromeos { 25 namespace chromeos {
26 26
27 NetworkMessageObserver::NetworkMessageObserver(Profile* profile) 27 NetworkMessageObserver::NetworkMessageObserver(Profile* profile)
28 : initialized_(false), 28 : initialized_(false),
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 NewCallback(this, &NetworkMessageObserver::OpenMoreInfoPage), 249 NewCallback(this, &NetworkMessageObserver::OpenMoreInfoPage),
250 false, false); 250 false, false);
251 } else { 251 } else {
252 // Got data, so hide notifications. 252 // Got data, so hide notifications.
253 notification_low_data_.Hide(); 253 notification_low_data_.Hide();
254 notification_no_data_.Hide(); 254 notification_no_data_.Hide();
255 } 255 }
256 } 256 }
257 257
258 } // namespace chromeos 258 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698