| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; | 220 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; |
| 221 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; | 221 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; |
| 222 | 222 |
| 223 // Overridden from BlockedContentTabHelperDelegate: | 223 // Overridden from BlockedContentTabHelperDelegate: |
| 224 virtual TabContents* GetConstrainingTabContents(TabContents* source) OVERRIDE; | 224 virtual TabContents* GetConstrainingTabContents(TabContents* source) OVERRIDE; |
| 225 | 225 |
| 226 protected: | 226 protected: |
| 227 virtual ~ExternalTabContainerWin(); | 227 virtual ~ExternalTabContainerWin(); |
| 228 | 228 |
| 229 // Overridden from views::NativeWidgetWin: | 229 // Overridden from views::NativeWidgetWin: |
| 230 virtual LRESULT OnCreate(LPCREATESTRUCT create_struct); | 230 virtual void HandleCreate(); |
| 231 virtual void OnDestroy(); | 231 virtual void HandleDestroying(); |
| 232 virtual void OnFinalMessage(HWND window); | 232 virtual void OnFinalMessage(HWND window); |
| 233 | 233 |
| 234 bool InitNavigationInfo(NavigationInfo* nav_info, | 234 bool InitNavigationInfo(NavigationInfo* nav_info, |
| 235 content::NavigationType nav_type, | 235 content::NavigationType nav_type, |
| 236 int relative_offset); | 236 int relative_offset); |
| 237 void Navigate(const GURL& url, const GURL& referrer); | 237 void Navigate(const GURL& url, const GURL& referrer); |
| 238 | 238 |
| 239 // Helper resource automation registration method, allowing registration of | 239 // Helper resource automation registration method, allowing registration of |
| 240 // pending RenderViewHosts. | 240 // pending RenderViewHosts. |
| 241 void RegisterRenderViewHostForAutomation( | 241 void RegisterRenderViewHostForAutomation( |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 return false; | 396 return false; |
| 397 } | 397 } |
| 398 | 398 |
| 399 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, | 399 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, |
| 400 bool* proceed_to_fire_unload) { | 400 bool* proceed_to_fire_unload) { |
| 401 NOTREACHED(); | 401 NOTREACHED(); |
| 402 } | 402 } |
| 403 }; | 403 }; |
| 404 | 404 |
| 405 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ | 405 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| OLD | NEW |