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_DELEGATE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ |
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/string16.h" | 13 #include "base/string16.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "content/public/browser/navigation_type.h" | 15 #include "content/public/browser/navigation_type.h" |
16 #include "content/public/common/page_transition_types.h" | 16 #include "content/public/common/page_transition_types.h" |
17 #include "content/public/common/window_container_type.h" | 17 #include "content/public/common/window_container_type.h" |
18 #include "third_party/skia/include/core/SkColor.h" | 18 #include "third_party/skia/include/core/SkColor.h" |
19 #include "ui/gfx/native_widget_types.h" | 19 #include "ui/gfx/native_widget_types.h" |
20 #include "webkit/glue/window_open_disposition.h" | 20 #include "webkit/glue/window_open_disposition.h" |
21 | 21 |
22 class FilePath; | 22 class FilePath; |
23 class GURL; | 23 class GURL; |
24 class WebContentsImpl; | 24 class WebContentsImpl; |
25 struct NativeWebKeyboardEvent; | |
26 | 25 |
27 namespace base { | 26 namespace base { |
28 class ListValue; | 27 class ListValue; |
29 } | 28 } |
30 | 29 |
31 namespace content { | 30 namespace content { |
32 class BrowserContext; | 31 class BrowserContext; |
33 class ColorChooser; | 32 class ColorChooser; |
34 class DownloadItem; | 33 class DownloadItem; |
35 class JavaScriptDialogCreator; | 34 class JavaScriptDialogCreator; |
36 class RenderViewHost; | 35 class RenderViewHost; |
37 class WebContents; | 36 class WebContents; |
38 class WebIntentsDispatcher; | 37 class WebIntentsDispatcher; |
39 struct ContextMenuParams; | 38 struct ContextMenuParams; |
40 struct FileChooserParams; | 39 struct FileChooserParams; |
| 40 struct NativeWebKeyboardEvent; |
41 struct SSLStatus; | 41 struct SSLStatus; |
42 } | 42 } |
43 | 43 |
44 namespace gfx { | 44 namespace gfx { |
45 class Point; | 45 class Point; |
46 class Rect; | 46 class Rect; |
47 class Size; | 47 class Size; |
48 } | 48 } |
49 | 49 |
50 namespace history { | 50 namespace history { |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 // Called when |this| is no longer the WebContentsDelegate for |source|. | 409 // Called when |this| is no longer the WebContentsDelegate for |source|. |
410 void Detach(WebContents* source); | 410 void Detach(WebContents* source); |
411 | 411 |
412 // The WebContents that this is currently a delegate for. | 412 // The WebContents that this is currently a delegate for. |
413 std::set<WebContents*> attached_contents_; | 413 std::set<WebContents*> attached_contents_; |
414 }; | 414 }; |
415 | 415 |
416 } // namespace content | 416 } // namespace content |
417 | 417 |
418 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ | 418 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ |
OLD | NEW |