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

Side by Side Diff: chrome/browser/ui/views/status_icons/status_tray_win.cc

Issue 6204002: Carnitas: Remove chrome/browser/views, update references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yay, more syncing Created 9 years, 11 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) 2010 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/views/status_icons/status_tray_win.h" 5 #include "chrome/browser/ui/views/status_icons/status_tray_win.h"
6 6
7 #include "app/win/hwnd_util.h" 7 #include "app/win/hwnd_util.h"
8 #include "chrome/browser/views/status_icons/status_icon_win.h" 8 #include "chrome/browser/ui/views/status_icons/status_icon_win.h"
9 #include "chrome/common/chrome_constants.h" 9 #include "chrome/common/chrome_constants.h"
10 10
11 static const UINT kStatusIconMessage = WM_APP + 1; 11 static const UINT kStatusIconMessage = WM_APP + 1;
12 12
13 StatusTrayWin::StatusTrayWin() 13 StatusTrayWin::StatusTrayWin()
14 : next_icon_id_(1) { 14 : next_icon_id_(1) {
15 // Register our window class 15 // Register our window class
16 HINSTANCE hinst = GetModuleHandle(NULL); 16 HINSTANCE hinst = GetModuleHandle(NULL);
17 WNDCLASSEX wc = {0}; 17 WNDCLASSEX wc = {0};
18 wc.cbSize = sizeof(wc); 18 wc.cbSize = sizeof(wc);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 UnregisterClass(chrome::kStatusTrayWindowClass, GetModuleHandle(NULL)); 72 UnregisterClass(chrome::kStatusTrayWindowClass, GetModuleHandle(NULL));
73 } 73 }
74 74
75 StatusIcon* StatusTrayWin::CreatePlatformStatusIcon() { 75 StatusIcon* StatusTrayWin::CreatePlatformStatusIcon() {
76 return new StatusIconWin(next_icon_id_++, window_, kStatusIconMessage); 76 return new StatusIconWin(next_icon_id_++, window_, kStatusIconMessage);
77 } 77 }
78 78
79 StatusTray* StatusTray::Create() { 79 StatusTray* StatusTray::Create() {
80 return new StatusTrayWin(); 80 return new StatusTrayWin();
81 } 81 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698