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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; | 151 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; |
152 virtual bool ExecuteContextMenuCommand(int command) OVERRIDE; | 152 virtual bool ExecuteContextMenuCommand(int command) OVERRIDE; |
153 virtual void BeforeUnloadFired(TabContents* tab, | 153 virtual void BeforeUnloadFired(TabContents* tab, |
154 bool proceed, | 154 bool proceed, |
155 bool* proceed_to_fire_unload) OVERRIDE; | 155 bool* proceed_to_fire_unload) OVERRIDE; |
156 virtual content::JavaScriptDialogCreator* | 156 virtual content::JavaScriptDialogCreator* |
157 GetJavaScriptDialogCreator() OVERRIDE; | 157 GetJavaScriptDialogCreator() OVERRIDE; |
158 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) OVERRIDE; | 158 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) OVERRIDE; |
159 virtual void RunFileChooser( | 159 virtual void RunFileChooser( |
160 TabContents* tab, | 160 TabContents* tab, |
161 const ViewHostMsg_RunFileChooser_Params& params) OVERRIDE; | 161 const content::FileChooserParams& params) OVERRIDE; |
162 virtual void EnumerateDirectory(TabContents* tab, | 162 virtual void EnumerateDirectory(TabContents* tab, |
163 int request_id, | 163 int request_id, |
164 const FilePath& path) OVERRIDE; | 164 const FilePath& path) OVERRIDE; |
165 virtual void JSOutOfMemory(TabContents* tab); | 165 virtual void JSOutOfMemory(TabContents* tab); |
166 virtual void RegisterProtocolHandler(TabContents* tab, | 166 virtual void RegisterProtocolHandler(TabContents* tab, |
167 const std::string& protocol, | 167 const std::string& protocol, |
168 const GURL& url, | 168 const GURL& url, |
169 const string16& title) OVERRIDE; | 169 const string16& title) OVERRIDE; |
170 virtual void RegisterIntentHandler(TabContents* tab, | 170 virtual void RegisterIntentHandler(TabContents* tab, |
171 const string16& action, | 171 const string16& action, |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 return false; | 413 return false; |
414 } | 414 } |
415 | 415 |
416 virtual void BeforeUnloadFired(TabContents* tab, bool proceed, | 416 virtual void BeforeUnloadFired(TabContents* tab, bool proceed, |
417 bool* proceed_to_fire_unload) { | 417 bool* proceed_to_fire_unload) { |
418 NOTREACHED(); | 418 NOTREACHED(); |
419 } | 419 } |
420 }; | 420 }; |
421 | 421 |
422 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ | 422 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ |
OLD | NEW |