| 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 CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ |
| 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 | 261 |
| 262 virtual void HandleMouseUp(); | 262 virtual void HandleMouseUp(); |
| 263 virtual void HandleMouseActivate(); | 263 virtual void HandleMouseActivate(); |
| 264 | 264 |
| 265 // Render view drag n drop ended. | 265 // Render view drag n drop ended. |
| 266 virtual void DragEnded(); | 266 virtual void DragEnded(); |
| 267 | 267 |
| 268 // Shows the repost form confirmation dialog box. | 268 // Shows the repost form confirmation dialog box. |
| 269 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); | 269 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); |
| 270 | 270 |
| 271 // Shows the Content Settings dialog for a given content type. | 271 // Shows the Content Settings page for a given content type. |
| 272 virtual void ShowContentSettingsWindow(ContentSettingsType content_type); | 272 virtual void ShowContentSettingsPage(ContentSettingsType content_type); |
| 273 | 273 |
| 274 // Shows the cookies collected in the tab contents. | 274 // Shows the cookies collected in the tab contents. |
| 275 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); | 275 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); |
| 276 | 276 |
| 277 // Allows delegate to override navigation to the history entries. | 277 // Allows delegate to override navigation to the history entries. |
| 278 // Returns true to allow TabContents to continue with the default processing. | 278 // Returns true to allow TabContents to continue with the default processing. |
| 279 virtual bool OnGoToEntryOffset(int offset); | 279 virtual bool OnGoToEntryOffset(int offset); |
| 280 | 280 |
| 281 // Returns whether this tab contents should add the specified navigation to | 281 // Returns whether this tab contents should add the specified navigation to |
| 282 // history. | 282 // history. |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 virtual bool ShouldShowHungRendererDialog(); | 327 virtual bool ShouldShowHungRendererDialog(); |
| 328 | 328 |
| 329 // Notification that a worker associated with this tab has crashed. | 329 // Notification that a worker associated with this tab has crashed. |
| 330 virtual void WorkerCrashed(); | 330 virtual void WorkerCrashed(); |
| 331 | 331 |
| 332 protected: | 332 protected: |
| 333 virtual ~TabContentsDelegate(); | 333 virtual ~TabContentsDelegate(); |
| 334 }; | 334 }; |
| 335 | 335 |
| 336 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ | 336 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ |
| OLD | NEW |