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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "content/public/browser/invalidate_type.h" | 15 #include "content/public/browser/invalidate_type.h" |
16 #include "content/public/browser/navigation_type.h" | 16 #include "content/public/browser/navigation_type.h" |
17 #include "content/public/common/media_stream_request.h" | 17 #include "content/public/common/media_stream_request.h" |
18 #include "content/public/common/page_transition_types.h" | |
19 #include "content/public/common/window_container_type.h" | 18 #include "content/public/common/window_container_type.h" |
20 #include "third_party/WebKit/public/web/WebDragOperation.h" | 19 #include "third_party/WebKit/public/web/WebDragOperation.h" |
21 #include "third_party/skia/include/core/SkColor.h" | 20 #include "third_party/skia/include/core/SkColor.h" |
22 #include "ui/base/window_open_disposition.h" | 21 #include "ui/base/window_open_disposition.h" |
23 #include "ui/gfx/native_widget_types.h" | 22 #include "ui/gfx/native_widget_types.h" |
24 #include "ui/gfx/rect_f.h" | 23 #include "ui/gfx/rect_f.h" |
25 | 24 |
26 class GURL; | 25 class GURL; |
27 | 26 |
28 namespace base { | 27 namespace base { |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 // Called when |this| is no longer the WebContentsDelegate for |source|. | 497 // Called when |this| is no longer the WebContentsDelegate for |source|. |
499 void Detach(WebContents* source); | 498 void Detach(WebContents* source); |
500 | 499 |
501 // The WebContents that this is currently a delegate for. | 500 // The WebContents that this is currently a delegate for. |
502 std::set<WebContents*> attached_contents_; | 501 std::set<WebContents*> attached_contents_; |
503 }; | 502 }; |
504 | 503 |
505 } // namespace content | 504 } // namespace content |
506 | 505 |
507 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ | 506 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ |
OLD | NEW |