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/status/window_switcher_button.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 #include "chrome/browser/chromeos/status/window_switcher_button.h" 5 #include "chrome/browser/chromeos/status/window_switcher_button.h"
6 6
7 #include "chrome/browser/chromeos/status/status_area_host.h" 7 #include "chrome/browser/chromeos/status/status_area_host.h"
8 #include "chrome/browser/ui/browser_window.h" 8 #include "chrome/browser/ui/browser_window.h"
9 #include "gfx/canvas.h"
10 #include "grit/generated_resources.h" 9 #include "grit/generated_resources.h"
11 #include "grit/theme_resources.h" 10 #include "grit/theme_resources.h"
12 #include "ui/base/resource/resource_bundle.h" 11 #include "ui/base/resource/resource_bundle.h"
12 #include "ui/gfx/canvas.h"
13 13
14 namespace chromeos { 14 namespace chromeos {
15 15
16 WindowSwitcherButton::WindowSwitcherButton(StatusAreaHost* host) 16 WindowSwitcherButton::WindowSwitcherButton(StatusAreaHost* host)
17 : StatusAreaButton(this), 17 : StatusAreaButton(this),
18 host_(host) { 18 host_(host) {
19 UpdateStatus(); 19 UpdateStatus();
20 BrowserList::AddObserver(this); 20 BrowserList::AddObserver(this);
21 } 21 }
22 22
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 void WindowSwitcherButton::OnBrowserAdded(const Browser* browser) { 66 void WindowSwitcherButton::OnBrowserAdded(const Browser* browser) {
67 UpdateStatus(); 67 UpdateStatus();
68 } 68 }
69 69
70 // Called immediately after a browser is removed from the list 70 // Called immediately after a browser is removed from the list
71 void WindowSwitcherButton::OnBrowserRemoved(const Browser* browser) { 71 void WindowSwitcherButton::OnBrowserRemoved(const Browser* browser) {
72 UpdateStatus(); 72 UpdateStatus();
73 } 73 }
74 74
75 } // namespace chromeos 75 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/status/status_area_view.cc ('k') | chrome/browser/chromeos/views/copy_background.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698