| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ |
| 6 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 14 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
| 15 #include "content/browser/renderer_host/render_view_host_delegate.h" | 15 #include "content/browser/renderer_host/render_view_host_delegate.h" |
| 16 #include "content/browser/tab_contents/tab_contents_delegate.h" | 16 #include "content/browser/tab_contents/tab_contents_delegate.h" |
| 17 #include "content/browser/tab_contents/tab_contents_observer.h" | 17 #include "content/browser/tab_contents/tab_contents_observer.h" |
| 18 #include "content/public/browser/notification_registrar.h" | 18 #include "content/public/browser/notification_registrar.h" |
| 19 | 19 |
| 20 class Balloon; | 20 class Balloon; |
| 21 class Browser; | 21 class Browser; |
| 22 class Profile; | 22 class Profile; |
| 23 class SiteInstance; | 23 class SiteInstance; |
| 24 struct WebPreferences; | |
| 25 | 24 |
| 26 namespace IPC { | 25 namespace IPC { |
| 27 class Message; | 26 class Message; |
| 28 } | 27 } |
| 29 | 28 |
| 30 class BalloonHost : public TabContentsDelegate, | 29 class BalloonHost : public TabContentsDelegate, |
| 31 public TabContentsObserver, | 30 public TabContentsObserver, |
| 32 public ExtensionFunctionDispatcher::Delegate { | 31 public ExtensionFunctionDispatcher::Delegate { |
| 33 public: | 32 public: |
| 34 explicit BalloonHost(Balloon* balloon); | 33 explicit BalloonHost(Balloon* balloon); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 // Site instance for the balloon/profile, to be used for opening new links. | 92 // Site instance for the balloon/profile, to be used for opening new links. |
| 94 scoped_refptr<SiteInstance> site_instance_; | 93 scoped_refptr<SiteInstance> site_instance_; |
| 95 | 94 |
| 96 // A flag to enable Web UI. | 95 // A flag to enable Web UI. |
| 97 bool enable_web_ui_; | 96 bool enable_web_ui_; |
| 98 | 97 |
| 99 ExtensionFunctionDispatcher extension_function_dispatcher_; | 98 ExtensionFunctionDispatcher extension_function_dispatcher_; |
| 100 }; | 99 }; |
| 101 | 100 |
| 102 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ | 101 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ |
| OLD | NEW |