| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 // Overridden from content::WebContentsDelegate: | 108 // Overridden from content::WebContentsDelegate: |
| 109 virtual content::WebContents* OpenURLFromTab( | 109 virtual content::WebContents* OpenURLFromTab( |
| 110 content::WebContents* source, | 110 content::WebContents* source, |
| 111 const content::OpenURLParams& params) OVERRIDE; | 111 const content::OpenURLParams& params) OVERRIDE; |
| 112 virtual void NavigationStateChanged(const content::WebContents* source, | 112 virtual void NavigationStateChanged(const content::WebContents* source, |
| 113 unsigned changed_flags) OVERRIDE; | 113 unsigned changed_flags) OVERRIDE; |
| 114 virtual void AddNewContents(content::WebContents* source, | 114 virtual void AddNewContents(content::WebContents* source, |
| 115 content::WebContents* new_contents, | 115 content::WebContents* new_contents, |
| 116 WindowOpenDisposition disposition, | 116 WindowOpenDisposition disposition, |
| 117 const gfx::Rect& initial_pos, | 117 const gfx::Rect& initial_pos, |
| 118 bool user_gesture) OVERRIDE; | 118 bool user_gesture, |
| 119 bool* was_blocked) OVERRIDE; |
| 119 virtual void CloseContents(content::WebContents* source) OVERRIDE; | 120 virtual void CloseContents(content::WebContents* source) OVERRIDE; |
| 120 virtual void MoveContents(content::WebContents* source, | 121 virtual void MoveContents(content::WebContents* source, |
| 121 const gfx::Rect& pos) OVERRIDE; | 122 const gfx::Rect& pos) OVERRIDE; |
| 122 virtual bool IsPopupOrPanel( | 123 virtual bool IsPopupOrPanel( |
| 123 const content::WebContents* source) const OVERRIDE; | 124 const content::WebContents* source) const OVERRIDE; |
| 124 virtual void UpdateTargetURL(content::WebContents* source, int32 page_id, | 125 virtual void UpdateTargetURL(content::WebContents* source, int32 page_id, |
| 125 const GURL& url) OVERRIDE; | 126 const GURL& url) OVERRIDE; |
| 126 virtual void ContentsZoomChange(bool zoom_in) OVERRIDE; | 127 virtual void ContentsZoomChange(bool zoom_in) OVERRIDE; |
| 127 virtual gfx::NativeWindow GetFrameNativeWindow() OVERRIDE; | 128 virtual gfx::NativeWindow GetFrameNativeWindow() OVERRIDE; |
| 128 virtual void WebContentsCreated(content::WebContents* source_contents, | 129 virtual void WebContentsCreated(content::WebContents* source_contents, |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 return false; | 402 return false; |
| 402 } | 403 } |
| 403 | 404 |
| 404 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, | 405 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, |
| 405 bool* proceed_to_fire_unload) { | 406 bool* proceed_to_fire_unload) { |
| 406 NOTREACHED(); | 407 NOTREACHED(); |
| 407 } | 408 } |
| 408 }; | 409 }; |
| 409 | 410 |
| 410 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ | 411 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ |
| OLD | NEW |