| 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_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_WIN_H_ | 5 #ifndef CHROME_BROWSER_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| 6 #define CHROME_BROWSER_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_WIN_H_ | 6 #define CHROME_BROWSER_EXTERNAL_TAB_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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 } | 237 } |
| 238 | 238 |
| 239 // InfoBarContainer::Delegate overrides | 239 // InfoBarContainer::Delegate overrides |
| 240 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE; | 240 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE; |
| 241 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; | 241 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; |
| 242 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; | 242 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; |
| 243 | 243 |
| 244 void RunUnloadHandlers(IPC::Message* reply_message); | 244 void RunUnloadHandlers(IPC::Message* reply_message); |
| 245 | 245 |
| 246 // Overridden from BlockedContentTabHelperDelegate: | 246 // Overridden from BlockedContentTabHelperDelegate: |
| 247 virtual TabContents* GetConstrainingContentsWrapper( | 247 virtual TabContents* GetConstrainingTabContents(TabContents* source) OVERRIDE; |
| 248 TabContents* source) OVERRIDE; | |
| 249 | 248 |
| 250 protected: | 249 protected: |
| 251 ~ExternalTabContainer(); | 250 ~ExternalTabContainer(); |
| 252 // Overridden from views::NativeWidgetWin: | 251 // Overridden from views::NativeWidgetWin: |
| 253 virtual LRESULT OnCreate(LPCREATESTRUCT create_struct); | 252 virtual LRESULT OnCreate(LPCREATESTRUCT create_struct); |
| 254 virtual void OnDestroy(); | 253 virtual void OnDestroy(); |
| 255 virtual void OnFinalMessage(HWND window); | 254 virtual void OnFinalMessage(HWND window); |
| 256 | 255 |
| 257 bool InitNavigationInfo(NavigationInfo* nav_info, | 256 bool InitNavigationInfo(NavigationInfo* nav_info, |
| 258 content::NavigationType nav_type, | 257 content::NavigationType nav_type, |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 return false; | 418 return false; |
| 420 } | 419 } |
| 421 | 420 |
| 422 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, | 421 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, |
| 423 bool* proceed_to_fire_unload) { | 422 bool* proceed_to_fire_unload) { |
| 424 NOTREACHED(); | 423 NOTREACHED(); |
| 425 } | 424 } |
| 426 }; | 425 }; |
| 427 | 426 |
| 428 #endif // CHROME_BROWSER_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_WIN_H_ | 427 #endif // CHROME_BROWSER_EXTERNAL_TAB_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| OLD | NEW |