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

Side by Side Diff: chrome/browser/ui/constrained_window_tab_helper.h

Issue 8603015: Get rid of a bunch of view_messages.h includes from chrome by making the TabContentsObserver inte... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux and try to fix mac again Created 9 years, 1 month 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_UI_CONSTRAINED_WINDOW_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_UI_CONSTRAINED_WINDOW_TAB_HELPER_H_
6 #define CHROME_BROWSER_UI_CONSTRAINED_WINDOW_TAB_HELPER_H_ 6 #define CHROME_BROWSER_UI_CONSTRAINED_WINDOW_TAB_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 // Return an iterator for the last constrained window in this tab contents. 49 // Return an iterator for the last constrained window in this tab contents.
50 ConstrainedWindowList::iterator constrained_window_end() { 50 ConstrainedWindowList::iterator constrained_window_end() {
51 return child_windows_.end(); 51 return child_windows_.end();
52 } 52 }
53 53
54 private: 54 private:
55 // Overridden from TabContentsObserver: 55 // Overridden from TabContentsObserver:
56 virtual void DidNavigateMainFrame( 56 virtual void DidNavigateMainFrame(
57 const content::LoadCommittedDetails& details, 57 const content::LoadCommittedDetails& details,
58 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; 58 const content::FrameNavigateParams& params) OVERRIDE;
59 virtual void DidGetIgnoredUIEvent() OVERRIDE; 59 virtual void DidGetIgnoredUIEvent() OVERRIDE;
60 virtual void TabContentsDestroyed(TabContents* tab) OVERRIDE; 60 virtual void TabContentsDestroyed(TabContents* tab) OVERRIDE;
61 61
62 // Our owning TabContentsWrapper. 62 // Our owning TabContentsWrapper.
63 TabContentsWrapper* wrapper_; 63 TabContentsWrapper* wrapper_;
64 64
65 // Delegate for notifying our owner about stuff. Not owned by us. 65 // Delegate for notifying our owner about stuff. Not owned by us.
66 ConstrainedWindowTabHelperDelegate* delegate_; 66 ConstrainedWindowTabHelperDelegate* delegate_;
67 67
68 // All active constrained windows. 68 // All active constrained windows.
69 ConstrainedWindowList child_windows_; 69 ConstrainedWindowList child_windows_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowTabHelper); 71 DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowTabHelper);
72 }; 72 };
73 73
74 #endif // CHROME_BROWSER_UI_CONSTRAINED_WINDOW_TAB_HELPER_H_ 74 #endif // CHROME_BROWSER_UI_CONSTRAINED_WINDOW_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/applescript/tab_applescript.mm ('k') | chrome/browser/ui/constrained_window_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698