OLD | NEW |
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 #ifndef CHROME_BROWSER_SHELL_INTEGRATION_H_ | 5 #ifndef CHROME_BROWSER_SHELL_INTEGRATION_H_ |
6 #define CHROME_BROWSER_SHELL_INTEGRATION_H_ | 6 #define CHROME_BROWSER_SHELL_INTEGRATION_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/string16.h" | 13 #include "base/string16.h" |
14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
15 #include "third_party/skia/include/core/SkBitmap.h" | 15 #include "third_party/skia/include/core/SkBitmap.h" |
16 | 16 |
17 class CommandLine; | 17 class CommandLine; |
18 class FilePath; | 18 class FilePath; |
19 class PrefService; | |
20 | 19 |
21 #if defined(USE_X11) | 20 #if defined(USE_X11) |
22 namespace base { | 21 namespace base { |
23 class Environment; | 22 class Environment; |
24 } | 23 } |
25 #endif | 24 #endif |
26 | 25 |
27 class ShellIntegration { | 26 class ShellIntegration { |
28 public: | 27 public: |
29 // Sets Chrome as the default browser (only for the current user). Returns | 28 // Sets Chrome as the default browser (only for the current user). Returns |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 // Set Chrome as the default handler for this protocol. | 271 // Set Chrome as the default handler for this protocol. |
273 virtual void SetAsDefault(); | 272 virtual void SetAsDefault(); |
274 | 273 |
275 std::string protocol_; | 274 std::string protocol_; |
276 | 275 |
277 DISALLOW_COPY_AND_ASSIGN(DefaultProtocolClientWorker); | 276 DISALLOW_COPY_AND_ASSIGN(DefaultProtocolClientWorker); |
278 }; | 277 }; |
279 }; | 278 }; |
280 | 279 |
281 #endif // CHROME_BROWSER_SHELL_INTEGRATION_H_ | 280 #endif // CHROME_BROWSER_SHELL_INTEGRATION_H_ |
OLD | NEW |