| OLD | NEW |
| 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_JUMPLIST_UPDATER_WIN_H_ | 5 #ifndef CHROME_BROWSER_JUMPLIST_UPDATER_WIN_H_ |
| 6 #define CHROME_BROWSER_JUMPLIST_UPDATER_WIN_H_ | 6 #define CHROME_BROWSER_JUMPLIST_UPDATER_WIN_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #include <shobjidl.h> | 9 #include <shobjidl.h> |
| 10 #include <stddef.h> |
| 10 | 11 |
| 11 #include <string> | 12 #include <string> |
| 12 #include <vector> | 13 #include <vector> |
| 13 | 14 |
| 14 #include "base/command_line.h" | 15 #include "base/command_line.h" |
| 16 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 16 #include "base/win/scoped_comptr.h" | 18 #include "base/win/scoped_comptr.h" |
| 17 #include "third_party/skia/include/core/SkBitmap.h" | 19 #include "third_party/skia/include/core/SkBitmap.h" |
| 18 | 20 |
| 19 // Represents a class used for creating an IShellLink object. | 21 // Represents a class used for creating an IShellLink object. |
| 20 // Even though an IShellLink also needs the absolute path to an application to | 22 // Even though an IShellLink also needs the absolute path to an application to |
| 21 // be executed, this class does not have any variables for it because current | 23 // be executed, this class does not have any variables for it because current |
| 22 // users always use "chrome.exe" as the application. | 24 // users always use "chrome.exe" as the application. |
| 23 class ShellLinkItem : public base::RefCountedThreadSafe<ShellLinkItem> { | 25 class ShellLinkItem : public base::RefCountedThreadSafe<ShellLinkItem> { |
| 24 public: | 26 public: |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 base::win::ScopedComPtr<ICustomDestinationList> destination_list_; | 132 base::win::ScopedComPtr<ICustomDestinationList> destination_list_; |
| 131 | 133 |
| 132 // The current user setting for "Number of recent items to display in Jump | 134 // The current user setting for "Number of recent items to display in Jump |
| 133 // Lists" option in the "Taskbar and Start Menu Properties". | 135 // Lists" option in the "Taskbar and Start Menu Properties". |
| 134 size_t user_max_items_; | 136 size_t user_max_items_; |
| 135 | 137 |
| 136 DISALLOW_COPY_AND_ASSIGN(JumpListUpdater); | 138 DISALLOW_COPY_AND_ASSIGN(JumpListUpdater); |
| 137 }; | 139 }; |
| 138 | 140 |
| 139 #endif // CHROME_BROWSER_JUMPLIST_UPDATER_WIN_H_ | 141 #endif // CHROME_BROWSER_JUMPLIST_UPDATER_WIN_H_ |
| OLD | NEW |