| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 virtual void RenderViewGone(RenderViewHost* rvh, | 79 virtual void RenderViewGone(RenderViewHost* rvh, |
| 80 base::TerminationStatus status, | 80 base::TerminationStatus status, |
| 81 int error_code); | 81 int error_code); |
| 82 virtual bool OnMessageReceived(const IPC::Message& message); | 82 virtual bool OnMessageReceived(const IPC::Message& message); |
| 83 | 83 |
| 84 // RenderViewHostDelegate::View | 84 // RenderViewHostDelegate::View |
| 85 virtual void CreateNewWindow( | 85 virtual void CreateNewWindow( |
| 86 int route_id, | 86 int route_id, |
| 87 const ViewHostMsg_CreateWindow_Params& params); | 87 const ViewHostMsg_CreateWindow_Params& params); |
| 88 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); | 88 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); |
| 89 virtual void CreateNewFullscreenWidget( | 89 virtual void CreateNewFullscreenWidget(int route_id); |
| 90 int route_id, WebKit::WebPopupType popup_type); | |
| 91 virtual void ShowCreatedWindow(int route_id, | 90 virtual void ShowCreatedWindow(int route_id, |
| 92 WindowOpenDisposition disposition, | 91 WindowOpenDisposition disposition, |
| 93 const gfx::Rect& initial_pos, | 92 const gfx::Rect& initial_pos, |
| 94 bool user_gesture); | 93 bool user_gesture); |
| 95 virtual void ShowCreatedWidget(int route_id, | 94 virtual void ShowCreatedWidget(int route_id, |
| 96 const gfx::Rect& initial_pos); | 95 const gfx::Rect& initial_pos); |
| 97 virtual void ShowCreatedFullscreenWidget(int route_id); | 96 virtual void ShowCreatedFullscreenWidget(int route_id); |
| 98 virtual void ShowContextMenu(const ContextMenuParams& params) {} | 97 virtual void ShowContextMenu(const ContextMenuParams& params) {} |
| 99 virtual void ShowPopupMenu(const gfx::Rect& bounds, | 98 virtual void ShowPopupMenu(const gfx::Rect& bounds, |
| 100 int item_height, | 99 int item_height, |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 BackgroundContents* contents; | 177 BackgroundContents* contents; |
| 179 | 178 |
| 180 // The name of the parent frame for these contents. | 179 // The name of the parent frame for these contents. |
| 181 const string16& frame_name; | 180 const string16& frame_name; |
| 182 | 181 |
| 183 // The ID of the parent application (if any). | 182 // The ID of the parent application (if any). |
| 184 const string16& application_id; | 183 const string16& application_id; |
| 185 }; | 184 }; |
| 186 | 185 |
| 187 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ | 186 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ |
| OLD | NEW |