OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "content/public/common/content_client.h" | 15 #include "content/public/common/content_client.h" |
16 #include "ipc/ipc_message.h" | 16 #include "ipc/ipc_message.h" |
| 17 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
17 #include "third_party/WebKit/public/web/WebNavigationPolicy.h" | 18 #include "third_party/WebKit/public/web/WebNavigationPolicy.h" |
18 #include "third_party/WebKit/public/web/WebNavigationType.h" | 19 #include "third_party/WebKit/public/web/WebNavigationType.h" |
19 #include "third_party/WebKit/public/web/WebPageVisibilityState.h" | |
20 #include "ui/base/page_transition_types.h" | 20 #include "ui/base/page_transition_types.h" |
21 #include "v8/include/v8.h" | 21 #include "v8/include/v8.h" |
22 | 22 |
23 class GURL; | 23 class GURL; |
24 class SkBitmap; | 24 class SkBitmap; |
25 | 25 |
26 namespace base { | 26 namespace base { |
27 class FilePath; | 27 class FilePath; |
28 class SingleThreadTaskRunner; | 28 class SingleThreadTaskRunner; |
29 } | 29 } |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 virtual bool IsPluginAllowedToUseDevChannelAPIs(); | 296 virtual bool IsPluginAllowedToUseDevChannelAPIs(); |
297 | 297 |
298 // Returns a user agent override specific for |url|, or empty string if | 298 // Returns a user agent override specific for |url|, or empty string if |
299 // default user agent should be used. | 299 // default user agent should be used. |
300 virtual std::string GetUserAgentOverrideForURL(const GURL& url); | 300 virtual std::string GetUserAgentOverrideForURL(const GURL& url); |
301 }; | 301 }; |
302 | 302 |
303 } // namespace content | 303 } // namespace content |
304 | 304 |
305 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 305 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |