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> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 virtual SiteInstance* GetSiteInstance() const; | 50 virtual SiteInstance* GetSiteInstance() const; |
51 virtual Profile* GetProfile() const; | 51 virtual Profile* GetProfile() const; |
52 virtual const GURL& GetURL() const; | 52 virtual const GURL& GetURL() const; |
53 virtual void Close(RenderViewHost* render_view_host); | 53 virtual void Close(RenderViewHost* render_view_host); |
54 virtual void RenderViewCreated(RenderViewHost* render_view_host); | 54 virtual void RenderViewCreated(RenderViewHost* render_view_host); |
55 virtual void RenderViewReady(RenderViewHost* render_view_host); | 55 virtual void RenderViewReady(RenderViewHost* render_view_host); |
56 virtual void RenderViewGone(RenderViewHost* render_view_host, | 56 virtual void RenderViewGone(RenderViewHost* render_view_host, |
57 base::TerminationStatus status, | 57 base::TerminationStatus status, |
58 int error_code); | 58 int error_code); |
59 virtual void UpdateTitle(RenderViewHost* render_view_host, | 59 virtual void UpdateTitle(RenderViewHost* render_view_host, |
60 int32 page_id, const std::wstring& title) {} | 60 int32 page_id, |
| 61 const string16& title, |
| 62 WebKit::WebTextDirection title_direction) OVERRIDE {} |
61 virtual int GetBrowserWindowID() const; | 63 virtual int GetBrowserWindowID() const; |
62 virtual ViewType::Type GetRenderViewType() const; | 64 virtual ViewType::Type GetRenderViewType() const; |
63 virtual RenderViewHostDelegate::View* GetViewDelegate(); | 65 virtual RenderViewHostDelegate::View* GetViewDelegate(); |
64 virtual void ProcessWebUIMessage( | 66 virtual void ProcessWebUIMessage( |
65 const ExtensionHostMsg_DomMessage_Params& params); | 67 const ExtensionHostMsg_DomMessage_Params& params); |
66 | 68 |
67 // NotificationObserver override. | 69 // NotificationObserver override. |
68 virtual void Observe(NotificationType type, | 70 virtual void Observe(NotificationType type, |
69 const NotificationSource& source, | 71 const NotificationSource& source, |
70 const NotificationDetails& details); | 72 const NotificationDetails& details); |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 // rendering a page from an extension. | 158 // rendering a page from an extension. |
157 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 159 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
158 | 160 |
159 // A flag to enable Web UI. | 161 // A flag to enable Web UI. |
160 bool enable_web_ui_; | 162 bool enable_web_ui_; |
161 | 163 |
162 NotificationRegistrar registrar_; | 164 NotificationRegistrar registrar_; |
163 }; | 165 }; |
164 | 166 |
165 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ | 167 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ |
OLD | NEW |