| 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 bool PreHandleMSG(UINT message, |
| 231 virtual void OnDestroy(); | 231 WPARAM w_param, |
| 232 LPARAM l_param, |
| 233 LRESULT* result) OVERRIDE; |
| 234 virtual void PostHandleMSG(UINT message, |
| 235 WPARAM w_param, |
| 236 LPARAM l_param) OVERRIDE; |
| 232 virtual void OnFinalMessage(HWND window); | 237 virtual void OnFinalMessage(HWND window); |
| 233 | 238 |
| 234 bool InitNavigationInfo(NavigationInfo* nav_info, | 239 bool InitNavigationInfo(NavigationInfo* nav_info, |
| 235 content::NavigationType nav_type, | 240 content::NavigationType nav_type, |
| 236 int relative_offset); | 241 int relative_offset); |
| 237 void Navigate(const GURL& url, const GURL& referrer); | 242 void Navigate(const GURL& url, const GURL& referrer); |
| 238 | 243 |
| 239 // Helper resource automation registration method, allowing registration of | 244 // Helper resource automation registration method, allowing registration of |
| 240 // pending RenderViewHosts. | 245 // pending RenderViewHosts. |
| 241 void RegisterRenderViewHostForAutomation( | 246 void RegisterRenderViewHostForAutomation( |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 return false; | 401 return false; |
| 397 } | 402 } |
| 398 | 403 |
| 399 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, | 404 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, |
| 400 bool* proceed_to_fire_unload) { | 405 bool* proceed_to_fire_unload) { |
| 401 NOTREACHED(); | 406 NOTREACHED(); |
| 402 } | 407 } |
| 403 }; | 408 }; |
| 404 | 409 |
| 405 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ | 410 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| OLD | NEW |