| 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_EXTERNAL_TAB_CONTAINER_WIN_H_ | 5 #ifndef CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| 6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ | 6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 virtual bool TakeFocus(bool reverse) OVERRIDE; | 143 virtual bool TakeFocus(bool reverse) OVERRIDE; |
| 144 virtual bool CanDownload(TabContents* source, int request_id) OVERRIDE; | 144 virtual bool CanDownload(TabContents* source, int request_id) OVERRIDE; |
| 145 virtual bool OnGoToEntryOffset(int offset) OVERRIDE; | 145 virtual bool OnGoToEntryOffset(int offset) OVERRIDE; |
| 146 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; | 146 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; |
| 147 virtual bool ExecuteContextMenuCommand(int command) OVERRIDE; | 147 virtual bool ExecuteContextMenuCommand(int command) OVERRIDE; |
| 148 virtual void BeforeUnloadFired(TabContents* tab, | 148 virtual void BeforeUnloadFired(TabContents* tab, |
| 149 bool proceed, | 149 bool proceed, |
| 150 bool* proceed_to_fire_unload) OVERRIDE; | 150 bool* proceed_to_fire_unload) OVERRIDE; |
| 151 virtual content::JavaScriptDialogCreator* | 151 virtual content::JavaScriptDialogCreator* |
| 152 GetJavaScriptDialogCreator() OVERRIDE; | 152 GetJavaScriptDialogCreator() OVERRIDE; |
| 153 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) OVERRIDE; | |
| 154 virtual void RunFileChooser( | 153 virtual void RunFileChooser( |
| 155 TabContents* tab, | 154 TabContents* tab, |
| 156 const content::FileChooserParams& params) OVERRIDE; | 155 const content::FileChooserParams& params) OVERRIDE; |
| 157 virtual void EnumerateDirectory(TabContents* tab, | 156 virtual void EnumerateDirectory(TabContents* tab, |
| 158 int request_id, | 157 int request_id, |
| 159 const FilePath& path) OVERRIDE; | 158 const FilePath& path) OVERRIDE; |
| 160 virtual void JSOutOfMemory(TabContents* tab); | 159 virtual void JSOutOfMemory(TabContents* tab); |
| 161 virtual void RegisterProtocolHandler(TabContents* tab, | 160 virtual void RegisterProtocolHandler(TabContents* tab, |
| 162 const std::string& protocol, | 161 const std::string& protocol, |
| 163 const GURL& url, | 162 const GURL& url, |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 return false; | 398 return false; |
| 400 } | 399 } |
| 401 | 400 |
| 402 virtual void BeforeUnloadFired(TabContents* tab, bool proceed, | 401 virtual void BeforeUnloadFired(TabContents* tab, bool proceed, |
| 403 bool* proceed_to_fire_unload) { | 402 bool* proceed_to_fire_unload) { |
| 404 NOTREACHED(); | 403 NOTREACHED(); |
| 405 } | 404 } |
| 406 }; | 405 }; |
| 407 | 406 |
| 408 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ | 407 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| OLD | NEW |