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 | |
8 | 7 |
9 #include <set> | 8 #include <set> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/callback.h" | 12 #include "base/callback.h" |
14 #include "base/string16.h" | 13 #include "base/string16.h" |
15 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
16 #include "content/public/browser/navigation_type.h" | 15 #include "content/public/browser/navigation_type.h" |
17 #include "content/public/common/media_stream_request.h" | 16 #include "content/public/common/media_stream_request.h" |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 // Called when |this| is no longer the WebContentsDelegate for |source|. | 424 // Called when |this| is no longer the WebContentsDelegate for |source|. |
426 void Detach(WebContents* source); | 425 void Detach(WebContents* source); |
427 | 426 |
428 // The WebContents that this is currently a delegate for. | 427 // The WebContents that this is currently a delegate for. |
429 std::set<WebContents*> attached_contents_; | 428 std::set<WebContents*> attached_contents_; |
430 }; | 429 }; |
431 | 430 |
432 } // namespace content | 431 } // namespace content |
433 | 432 |
434 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ | 433 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ |
OLD | NEW |