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

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

Issue 10938033: Switch BlockedContentTabHelper to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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) 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 void set_is_popup_window(bool is_popup_window) { 215 void set_is_popup_window(bool is_popup_window) {
216 is_popup_window_ = is_popup_window; 216 is_popup_window_ = is_popup_window;
217 } 217 }
218 218
219 // Overridden from InfoBarContainer::Delegate: 219 // Overridden from InfoBarContainer::Delegate:
220 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE; 220 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE;
221 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; 221 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE;
222 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; 222 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE;
223 223
224 // Overridden from BlockedContentTabHelperDelegate: 224 // Overridden from BlockedContentTabHelperDelegate:
225 virtual TabContents* GetConstrainingTabContents(TabContents* source) OVERRIDE; 225 virtual content::WebContents* GetConstrainingWebContents(
226 content::WebContents* source) OVERRIDE;
226 227
227 protected: 228 protected:
228 virtual ~ExternalTabContainerWin(); 229 virtual ~ExternalTabContainerWin();
229 230
230 // Overridden from views::NativeWidgetWin: 231 // Overridden from views::NativeWidgetWin:
231 virtual bool PreHandleMSG(UINT message, 232 virtual bool PreHandleMSG(UINT message,
232 WPARAM w_param, 233 WPARAM w_param,
233 LPARAM l_param, 234 LPARAM l_param,
234 LRESULT* result) OVERRIDE; 235 LRESULT* result) OVERRIDE;
235 virtual void PostHandleMSG(UINT message, 236 virtual void PostHandleMSG(UINT message,
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 return false; 403 return false;
403 } 404 }
404 405
405 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, 406 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed,
406 bool* proceed_to_fire_unload) { 407 bool* proceed_to_fire_unload) {
407 NOTREACHED(); 408 NOTREACHED();
408 } 409 }
409 }; 410 };
410 411
411 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ 412 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/tab_contents/tab_contents.cc ('k') | chrome/browser/ui/views/external_tab_container_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698