| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 virtual Profile* GetProfile() const; | 55 virtual Profile* GetProfile() const; |
| 56 virtual const GURL& GetURL() const; | 56 virtual const GURL& GetURL() const; |
| 57 virtual void Close(RenderViewHost* render_view_host); | 57 virtual void Close(RenderViewHost* render_view_host); |
| 58 virtual void RenderViewCreated(RenderViewHost* render_view_host); | 58 virtual void RenderViewCreated(RenderViewHost* render_view_host); |
| 59 virtual void RenderViewReady(RenderViewHost* render_view_host); | 59 virtual void RenderViewReady(RenderViewHost* render_view_host); |
| 60 virtual void RenderViewGone(RenderViewHost* render_view_host, | 60 virtual void RenderViewGone(RenderViewHost* render_view_host, |
| 61 base::TerminationStatus status, | 61 base::TerminationStatus status, |
| 62 int error_code); | 62 int error_code); |
| 63 virtual void UpdateTitle(RenderViewHost* render_view_host, | 63 virtual void UpdateTitle(RenderViewHost* render_view_host, |
| 64 int32 page_id, const std::wstring& title) {} | 64 int32 page_id, const std::wstring& title) {} |
| 65 virtual int GetBrowserWindowID() const; | |
| 66 virtual ViewType::Type GetRenderViewType() const; | 65 virtual ViewType::Type GetRenderViewType() const; |
| 67 virtual RenderViewHostDelegate::View* GetViewDelegate(); | 66 virtual RenderViewHostDelegate::View* GetViewDelegate(); |
| 68 | 67 |
| 69 // RenderViewHostDelegate::View methods. Only the ones for opening new | 68 // RenderViewHostDelegate::View methods. Only the ones for opening new |
| 70 // windows are currently implemented. | 69 // windows are currently implemented. |
| 71 virtual void CreateNewWindow( | 70 virtual void CreateNewWindow( |
| 72 int route_id, | 71 int route_id, |
| 73 const ViewHostMsg_CreateWindow_Params& params); | 72 const ViewHostMsg_CreateWindow_Params& params); |
| 74 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type) {} | 73 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type) {} |
| 75 virtual void CreateNewFullscreenWidget(int route_id) {} | 74 virtual void CreateNewFullscreenWidget(int route_id) {} |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 // Common implementations of some RenderViewHostDelegate::View methods. | 156 // Common implementations of some RenderViewHostDelegate::View methods. |
| 158 RenderViewHostDelegateViewHelper delegate_view_helper_; | 157 RenderViewHostDelegateViewHelper delegate_view_helper_; |
| 159 | 158 |
| 160 // A flag to enable Web UI. | 159 // A flag to enable Web UI. |
| 161 bool enable_web_ui_; | 160 bool enable_web_ui_; |
| 162 | 161 |
| 163 ExtensionFunctionDispatcher extension_function_dispatcher_; | 162 ExtensionFunctionDispatcher extension_function_dispatcher_; |
| 164 }; | 163 }; |
| 165 | 164 |
| 166 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ | 165 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ |
| OLD | NEW |