| 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_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_DELEGATE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_DELEGATE_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_DELEGATE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_DELEGATE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 // This method is called when tab inspected by this devtools frontend is | 44 // This method is called when tab inspected by this devtools frontend is |
| 45 // closing. | 45 // closing. |
| 46 virtual void InspectedTabClosing() = 0; | 46 virtual void InspectedTabClosing() = 0; |
| 47 | 47 |
| 48 // This method is called when tab inspected by this devtools frontend is | 48 // This method is called when tab inspected by this devtools frontend is |
| 49 // navigating to |url|. | 49 // navigating to |url|. |
| 50 virtual void FrameNavigating(const std::string& url) = 0; | 50 virtual void FrameNavigating(const std::string& url) = 0; |
| 51 | 51 |
| 52 // Invoked when tab inspected by this devtools frontend is replaced by | 52 // Invoked when tab inspected by this devtools frontend is replaced by |
| 53 // another tab. This is triggered by TabStripModel::ReplaceTabContentsAt. | 53 // another tab. This is triggered by TabStripModel::ReplaceTabContentsAt. |
| 54 virtual void TabReplaced(TabContents* new_tab) = 0; | 54 virtual void TabReplaced(WebContents* new_tab) = 0; |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace content | 57 } // namespace content |
| 58 | 58 |
| 59 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_DELEGATE_H_ | 59 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_HOST_DELEGATE_H_ |
| OLD | NEW |