Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(466)

Side by Side Diff: chrome/browser/external_tab_container_win.h

Issue 6788014: Fix DCHECK() in infobar animation. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_infobar_apitest.cc ('k') | chrome/browser/external_tab_container_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698