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

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

Issue 2767893002: Remove ScopedVector from chrome/browser/. (Closed)
Patch Set: Address comments from zea@ Created 3 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_LINUX_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_LINUX_H_
6 #define CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_LINUX_H_ 6 #define CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_LINUX_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/browser/status_icons/status_tray.h" 10 #include "chrome/browser/status_icons/status_tray.h"
11 11
12 class StatusTrayLinux : public StatusTray { 12 class StatusTrayLinux : public StatusTray {
13 public: 13 public:
14 StatusTrayLinux(); 14 StatusTrayLinux();
15 ~StatusTrayLinux() override; 15 ~StatusTrayLinux() override;
16 16
17 protected: 17 protected:
18 // Overriden from StatusTray: 18 // Overriden from StatusTray:
19 StatusIcon* CreatePlatformStatusIcon(StatusIconType type, 19 std::unique_ptr<StatusIcon> CreatePlatformStatusIcon(
20 const gfx::ImageSkia& image, 20 StatusIconType type,
21 const base::string16& tool_tip) override; 21 const gfx::ImageSkia& image,
22 const base::string16& tool_tip) override;
22 23
23 private: 24 private:
24 DISALLOW_COPY_AND_ASSIGN(StatusTrayLinux); 25 DISALLOW_COPY_AND_ASSIGN(StatusTrayLinux);
25 }; 26 };
26 27
27 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_LINUX_H_ 28 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_ICONS_STATUS_TRAY_LINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698