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" | |
20 #include "content/public/common/media_stream_request.h" | 19 #include "content/public/common/media_stream_request.h" |
21 #include "content/public/common/security_style.h" | 20 #include "content/public/common/security_style.h" |
22 #include "content/public/common/window_container_type.h" | 21 #include "content/public/common/window_container_type.h" |
23 #include "third_party/WebKit/public/platform/WebDisplayMode.h" | 22 #include "third_party/WebKit/public/platform/WebDisplayMode.h" |
24 #include "third_party/WebKit/public/platform/WebDragOperation.h" | 23 #include "third_party/WebKit/public/platform/WebDragOperation.h" |
25 #include "third_party/skia/include/core/SkColor.h" | 24 #include "third_party/skia/include/core/SkColor.h" |
26 #include "ui/base/window_open_disposition.h" | 25 #include "ui/base/window_open_disposition.h" |
27 #include "ui/gfx/geometry/rect_f.h" | 26 #include "ui/gfx/geometry/rect_f.h" |
28 #include "ui/gfx/native_widget_types.h" | 27 #include "ui/gfx/native_widget_types.h" |
29 | 28 |
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 // Called when |this| is no longer the WebContentsDelegate for |source|. | 544 // Called when |this| is no longer the WebContentsDelegate for |source|. |
546 void Detach(WebContents* source); | 545 void Detach(WebContents* source); |
547 | 546 |
548 // The WebContents that this is currently a delegate for. | 547 // The WebContents that this is currently a delegate for. |
549 std::set<WebContents*> attached_contents_; | 548 std::set<WebContents*> attached_contents_; |
550 }; | 549 }; |
551 | 550 |
552 } // namespace content | 551 } // namespace content |
553 | 552 |
554 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ | 553 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ |
OLD | NEW |