| 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 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 class AutomationProvider; | 30 class AutomationProvider; |
| 31 class Browser; | 31 class Browser; |
| 32 class Profile; | 32 class Profile; |
| 33 class TabContentsContainer; | 33 class TabContentsContainer; |
| 34 class TabContentsWrapper; | 34 class TabContentsWrapper; |
| 35 class RenderViewContextMenuViews; | 35 class RenderViewContextMenuViews; |
| 36 struct NavigationInfo; | 36 struct NavigationInfo; |
| 37 | 37 |
| 38 namespace content { | 38 namespace content { |
| 39 class IntentsHost; | 39 class WebIntentsDispatcher; |
| 40 } | 40 } |
| 41 | 41 |
| 42 namespace ui { | 42 namespace ui { |
| 43 class ViewProp; | 43 class ViewProp; |
| 44 } | 44 } |
| 45 | 45 |
| 46 // This class serves as the container window for an external tab. | 46 // This class serves as the container window for an external tab. |
| 47 // An external tab is a Chrome tab that is meant to displayed in an | 47 // An external tab is a Chrome tab that is meant to displayed in an |
| 48 // external process. This class provides the FocusManger needed by the | 48 // external process. This class provides the FocusManger needed by the |
| 49 // TabContents as well as an implementation of content::WebContentsDelegate. | 49 // TabContents as well as an implementation of content::WebContentsDelegate. |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 virtual void RegisterProtocolHandler(TabContents* tab, | 161 virtual void RegisterProtocolHandler(TabContents* tab, |
| 162 const std::string& protocol, | 162 const std::string& protocol, |
| 163 const GURL& url, | 163 const GURL& url, |
| 164 const string16& title) OVERRIDE; | 164 const string16& title) OVERRIDE; |
| 165 virtual void RegisterIntentHandler(TabContents* tab, | 165 virtual void RegisterIntentHandler(TabContents* tab, |
| 166 const string16& action, | 166 const string16& action, |
| 167 const string16& type, | 167 const string16& type, |
| 168 const string16& href, | 168 const string16& href, |
| 169 const string16& title, | 169 const string16& title, |
| 170 const string16& disposition) OVERRIDE; | 170 const string16& disposition) OVERRIDE; |
| 171 virtual void WebIntentDispatch(TabContents* tab, | 171 virtual void WebIntentDispatch( |
| 172 content::IntentsHost* intents_host) OVERRIDE; | 172 TabContents* tab, |
| 173 content::WebIntentsDispatcher* intents_dispatcher) OVERRIDE; |
| 173 virtual void FindReply(TabContents* tab, | 174 virtual void FindReply(TabContents* tab, |
| 174 int request_id, | 175 int request_id, |
| 175 int number_of_matches, | 176 int number_of_matches, |
| 176 const gfx::Rect& selection_rect, | 177 const gfx::Rect& selection_rect, |
| 177 int active_match_ordinal, | 178 int active_match_ordinal, |
| 178 bool final_update) OVERRIDE; | 179 bool final_update) OVERRIDE; |
| 179 virtual void CrashedPlugin(TabContents* tab, | 180 virtual void CrashedPlugin(TabContents* tab, |
| 180 const FilePath& plugin_path) OVERRIDE; | 181 const FilePath& plugin_path) OVERRIDE; |
| 181 | 182 |
| 182 void RegisterRenderViewHost(RenderViewHost* render_view_host); | 183 void RegisterRenderViewHost(RenderViewHost* render_view_host); |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 return false; | 400 return false; |
| 400 } | 401 } |
| 401 | 402 |
| 402 virtual void BeforeUnloadFired(TabContents* tab, bool proceed, | 403 virtual void BeforeUnloadFired(TabContents* tab, bool proceed, |
| 403 bool* proceed_to_fire_unload) { | 404 bool* proceed_to_fire_unload) { |
| 404 NOTREACHED(); | 405 NOTREACHED(); |
| 405 } | 406 } |
| 406 }; | 407 }; |
| 407 | 408 |
| 408 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ | 409 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| OLD | NEW |