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

Side by Side Diff: chrome/browser/ui/views/status_icons/status_tray_state_changer_win.h

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_STATE_CHANGER_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_STATE_CHANGER_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_STATE_CHANGER_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_STATE_CHANGER_WIN_H_
7 7
8 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
10 #include "base/threading/non_thread_safe.h" 11 #include "base/threading/non_thread_safe.h"
11 #include "base/win/iunknown_impl.h" 12 #include "base/win/iunknown_impl.h"
12 #include "base/win/scoped_comptr.h" 13 #include "base/win/scoped_comptr.h"
13 14
14 // The known values for NOTIFYITEM's dwPreference member. 15 // The known values for NOTIFYITEM's dwPreference member.
15 enum NOTIFYITEM_PREFERENCE { 16 enum NOTIFYITEM_PREFERENCE {
16 // In Windows UI: "Only show notifications." 17 // In Windows UI: "Only show notifications."
17 PREFERENCE_SHOW_WHEN_ACTIVE = 0, 18 PREFERENCE_SHOW_WHEN_ACTIVE = 0,
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // TrayNotify->RegisterCallback() 125 // TrayNotify->RegisterCallback()
125 // ... other COM stack frames .. 126 // ... other COM stack frames ..
126 // StatusTrayStateChangerWin->Notify(NOTIFYITEM); 127 // StatusTrayStateChangerWin->Notify(NOTIFYITEM);
127 // so we can't just return the notifyitem we're looking for. 128 // so we can't just return the notifyitem we're looking for.
128 scoped_ptr<NOTIFYITEM> notify_item_; 129 scoped_ptr<NOTIFYITEM> notify_item_;
129 130
130 DISALLOW_COPY_AND_ASSIGN(StatusTrayStateChangerWin); 131 DISALLOW_COPY_AND_ASSIGN(StatusTrayStateChangerWin);
131 }; 132 };
132 133
133 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_STATE_CHANGER_WIN_H_ 134 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_STATE_CHANGER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698