| 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chrome/browser/jsmessage_box_client.h" | 10 #include "chrome/browser/jsmessage_box_client.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 const GURL& frame_url, | 60 const GURL& frame_url, |
| 61 const int flags, | 61 const int flags, |
| 62 IPC::Message* reply_msg, | 62 IPC::Message* reply_msg, |
| 63 bool* did_suppress_message); | 63 bool* did_suppress_message); |
| 64 virtual void Close(RenderViewHost* render_view_host); | 64 virtual void Close(RenderViewHost* render_view_host); |
| 65 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; | 65 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; |
| 66 | 66 |
| 67 // RenderViewHostDelegate::View | 67 // RenderViewHostDelegate::View |
| 68 virtual void CreateNewWindow( | 68 virtual void CreateNewWindow( |
| 69 int route_id, | 69 int route_id, |
| 70 WindowContainerType window_container_type); | 70 WindowContainerType window_container_type, |
| 71 const string16& frame_name); |
| 71 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); | 72 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); |
| 72 virtual void ShowCreatedWindow(int route_id, | 73 virtual void ShowCreatedWindow(int route_id, |
| 73 WindowOpenDisposition disposition, | 74 WindowOpenDisposition disposition, |
| 74 const gfx::Rect& initial_pos, | 75 const gfx::Rect& initial_pos, |
| 75 bool user_gesture); | 76 bool user_gesture); |
| 76 virtual void ShowCreatedWidget(int route_id, | 77 virtual void ShowCreatedWidget(int route_id, |
| 77 const gfx::Rect& initial_pos); | 78 const gfx::Rect& initial_pos); |
| 78 virtual void ShowContextMenu(const ContextMenuParams& params) {} | 79 virtual void ShowContextMenu(const ContextMenuParams& params) {} |
| 79 virtual void StartDragging(const WebDropData& drop_data, | 80 virtual void StartDragging(const WebDropData& drop_data, |
| 80 WebKit::WebDragOperationsMask allowed_operations, | 81 WebKit::WebDragOperationsMask allowed_operations, |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 118 |
| 118 // The URL being hosted. | 119 // The URL being hosted. |
| 119 GURL url_; | 120 GURL url_; |
| 120 | 121 |
| 121 NotificationRegistrar registrar_; | 122 NotificationRegistrar registrar_; |
| 122 | 123 |
| 123 DISALLOW_COPY_AND_ASSIGN(BackgroundContents); | 124 DISALLOW_COPY_AND_ASSIGN(BackgroundContents); |
| 124 }; | 125 }; |
| 125 | 126 |
| 126 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ | 127 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ |
| OLD | NEW |