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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 | 205 |
206 void set_pending(bool pending) { | 206 void set_pending(bool pending) { |
207 pending_ = pending; | 207 pending_ = pending; |
208 } | 208 } |
209 | 209 |
210 void set_is_popup_window(bool is_popup_window) { | 210 void set_is_popup_window(bool is_popup_window) { |
211 is_popup_window_ = is_popup_window; | 211 is_popup_window_ = is_popup_window; |
212 } | 212 } |
213 | 213 |
214 // InfoBarContainer::Delegate overrides | 214 // InfoBarContainer::Delegate overrides |
215 virtual void InfoBarContainerSizeChanged(bool is_animating); | 215 virtual void InfoBarContainerHeightChanged(bool is_animating) OVERRIDE; |
216 | 216 |
217 virtual void TabContentsCreated(TabContents* new_contents); | 217 virtual void TabContentsCreated(TabContents* new_contents); |
218 | 218 |
219 virtual bool infobars_enabled(); | 219 virtual bool infobars_enabled(); |
220 | 220 |
221 void RunUnloadHandlers(IPC::Message* reply_message); | 221 void RunUnloadHandlers(IPC::Message* reply_message); |
222 | 222 |
223 protected: | 223 protected: |
224 ~ExternalTabContainer(); | 224 ~ExternalTabContainer(); |
225 // Overridden from views::WidgetWin: | 225 // Overridden from views::WidgetWin: |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 return false; | 407 return false; |
408 } | 408 } |
409 | 409 |
410 virtual void BeforeUnloadFired(TabContents* tab, bool proceed, | 410 virtual void BeforeUnloadFired(TabContents* tab, bool proceed, |
411 bool* proceed_to_fire_unload) { | 411 bool* proceed_to_fire_unload) { |
412 NOTREACHED(); | 412 NOTREACHED(); |
413 } | 413 } |
414 }; | 414 }; |
415 | 415 |
416 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ | 416 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ |
OLD | NEW |