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_BROWSER_WEB_CONTENTS_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/callback_forward.h" | 9 #include "base/callback_forward.h" |
10 #include "base/process_util.h" | 10 #include "base/process_util.h" |
11 #include "base/string16.h" | 11 #include "base/string16.h" |
12 #include "base/supports_user_data.h" | 12 #include "base/supports_user_data.h" |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 #include "content/public/browser/navigation_controller.h" | 14 #include "content/public/browser/navigation_controller.h" |
15 #include "content/public/browser/page_navigator.h" | 15 #include "content/public/browser/page_navigator.h" |
16 #include "content/public/browser/save_page_type.h" | 16 #include "content/public/browser/save_page_type.h" |
17 #include "content/public/browser/web_ui.h" | 17 #include "content/public/browser/web_ui.h" |
18 #include "ipc/ipc_sender.h" | 18 #include "ipc/ipc_sender.h" |
19 #include "third_party/skia/include/core/SkColor.h" | 19 #include "third_party/skia/include/core/SkColor.h" |
| 20 #include "ui/base/window_open_disposition.h" |
20 #include "ui/gfx/native_widget_types.h" | 21 #include "ui/gfx/native_widget_types.h" |
21 #include "ui/gfx/size.h" | 22 #include "ui/gfx/size.h" |
22 #include "webkit/glue/window_open_disposition.h" | |
23 | 23 |
24 namespace base { | 24 namespace base { |
25 class TimeTicks; | 25 class TimeTicks; |
26 } | 26 } |
27 | 27 |
28 namespace gfx { | 28 namespace gfx { |
29 class Rect; | 29 class Rect; |
30 class Size; | 30 class Size; |
31 } | 31 } |
32 | 32 |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 // is not resized to the given image_size. If 0 is passed, the first frame of | 434 // is not resized to the given image_size. If 0 is passed, the first frame of |
435 // the image is returned. | 435 // the image is returned. |
436 virtual int DownloadFavicon(const GURL& url, int image_size, | 436 virtual int DownloadFavicon(const GURL& url, int image_size, |
437 const FaviconDownloadCallback& callback) = 0; | 437 const FaviconDownloadCallback& callback) = 0; |
438 | 438 |
439 }; | 439 }; |
440 | 440 |
441 } // namespace content | 441 } // namespace content |
442 | 442 |
443 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ | 443 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ |
OLD | NEW |