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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 const FilePath& path); | 163 const FilePath& path); |
164 virtual void JSOutOfMemory(TabContents* tab); | 164 virtual void JSOutOfMemory(TabContents* tab); |
165 virtual void RegisterProtocolHandler(TabContents* tab, | 165 virtual void RegisterProtocolHandler(TabContents* tab, |
166 const std::string& protocol, | 166 const std::string& protocol, |
167 const GURL& url, | 167 const GURL& url, |
168 const string16& title); | 168 const string16& title); |
169 virtual void RegisterIntentHandler(TabContents* tab, | 169 virtual void RegisterIntentHandler(TabContents* tab, |
170 const string16& action, | 170 const string16& action, |
171 const string16& type, | 171 const string16& type, |
172 const string16& href, | 172 const string16& href, |
173 const string16& title); | 173 const string16& title) OVERRIDE; |
174 virtual void WebIntentDispatch(TabContents* tab, | 174 virtual void WebIntentDispatch(TabContents* tab, |
175 int routing_id, | 175 int routing_id, |
176 const string16& action, | 176 const webkit_glue::WebIntentData& intent, |
177 const string16& type, | 177 int intent_id) OVERRIDE; |
178 const string16& data, | |
179 int intent_id); | |
180 virtual void FindReply(TabContents* tab, | 178 virtual void FindReply(TabContents* tab, |
181 int request_id, | 179 int request_id, |
182 int number_of_matches, | 180 int number_of_matches, |
183 const gfx::Rect& selection_rect, | 181 const gfx::Rect& selection_rect, |
184 int active_match_ordinal, | 182 int active_match_ordinal, |
185 bool final_update); | 183 bool final_update); |
186 virtual void CrashedPlugin(TabContents* tab, | 184 virtual void CrashedPlugin(TabContents* tab, |
187 const FilePath& plugin_path); | 185 const FilePath& plugin_path); |
188 | 186 |
189 void RegisterRenderViewHost(RenderViewHost* render_view_host); | 187 void RegisterRenderViewHost(RenderViewHost* render_view_host); |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 return false; | 410 return false; |
413 } | 411 } |
414 | 412 |
415 virtual void BeforeUnloadFired(TabContents* tab, bool proceed, | 413 virtual void BeforeUnloadFired(TabContents* tab, bool proceed, |
416 bool* proceed_to_fire_unload) { | 414 bool* proceed_to_fire_unload) { |
417 NOTREACHED(); | 415 NOTREACHED(); |
418 } | 416 } |
419 }; | 417 }; |
420 | 418 |
421 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ | 419 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ |
OLD | NEW |