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 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
16 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
17 #include "content/public/browser/bluetooth_chooser.h" | 17 #include "content/public/browser/bluetooth_chooser.h" |
18 #include "content/public/browser/invalidate_type.h" | 18 #include "content/public/browser/invalidate_type.h" |
19 #include "content/public/browser/navigation_type.h" | 19 #include "content/public/browser/navigation_types.h" |
20 #include "content/public/common/media_stream_request.h" | 20 #include "content/public/common/media_stream_request.h" |
21 #include "content/public/common/security_style.h" | 21 #include "content/public/common/security_style.h" |
22 #include "content/public/common/window_container_type.h" | 22 #include "content/public/common/window_container_type.h" |
23 #include "third_party/WebKit/public/platform/WebDisplayMode.h" | 23 #include "third_party/WebKit/public/platform/WebDisplayMode.h" |
24 #include "third_party/WebKit/public/platform/WebDragOperation.h" | 24 #include "third_party/WebKit/public/platform/WebDragOperation.h" |
25 #include "third_party/skia/include/core/SkColor.h" | 25 #include "third_party/skia/include/core/SkColor.h" |
26 #include "ui/base/window_open_disposition.h" | 26 #include "ui/base/window_open_disposition.h" |
27 #include "ui/gfx/geometry/rect_f.h" | 27 #include "ui/gfx/geometry/rect_f.h" |
28 #include "ui/gfx/native_widget_types.h" | 28 #include "ui/gfx/native_widget_types.h" |
29 | 29 |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 // Called when |this| is no longer the WebContentsDelegate for |source|. | 541 // Called when |this| is no longer the WebContentsDelegate for |source|. |
542 void Detach(WebContents* source); | 542 void Detach(WebContents* source); |
543 | 543 |
544 // The WebContents that this is currently a delegate for. | 544 // The WebContents that this is currently a delegate for. |
545 std::set<WebContents*> attached_contents_; | 545 std::set<WebContents*> attached_contents_; |
546 }; | 546 }; |
547 | 547 |
548 } // namespace content | 548 } // namespace content |
549 | 549 |
550 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ | 550 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ |
OLD | NEW |