OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_BASE_H_ | 5 #ifndef COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_BASE_H_ |
6 #define COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_BASE_H_ | 6 #define COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_BASE_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "base/values.h" | 12 #include "base/values.h" |
12 #include "components/guest_view/common/guest_view_constants.h" | 13 #include "components/guest_view/common/guest_view_constants.h" |
13 #include "components/ui/zoom/zoom_observer.h" | 14 #include "components/ui/zoom/zoom_observer.h" |
14 #include "content/public/browser/browser_plugin_guest_delegate.h" | 15 #include "content/public/browser/browser_plugin_guest_delegate.h" |
15 #include "content/public/browser/guest_host.h" | 16 #include "content/public/browser/guest_host.h" |
16 #include "content/public/browser/render_process_host_observer.h" | 17 #include "content/public/browser/render_process_host_observer.h" |
17 #include "content/public/browser/web_contents.h" | 18 #include "content/public/browser/web_contents.h" |
18 #include "content/public/browser/web_contents_delegate.h" | 19 #include "content/public/browser/web_contents_delegate.h" |
19 #include "content/public/browser/web_contents_observer.h" | 20 #include "content/public/browser/web_contents_observer.h" |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 // This is used to ensure pending tasks will not fire after this object is | 477 // This is used to ensure pending tasks will not fire after this object is |
477 // destroyed. | 478 // destroyed. |
478 base::WeakPtrFactory<GuestViewBase> weak_ptr_factory_; | 479 base::WeakPtrFactory<GuestViewBase> weak_ptr_factory_; |
479 | 480 |
480 DISALLOW_COPY_AND_ASSIGN(GuestViewBase); | 481 DISALLOW_COPY_AND_ASSIGN(GuestViewBase); |
481 }; | 482 }; |
482 | 483 |
483 } // namespace guest_view | 484 } // namespace guest_view |
484 | 485 |
485 #endif // COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_BASE_H_ | 486 #endif // COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_BASE_H_ |
OLD | NEW |