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

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

Issue 2878081: Clean up inclusion of <map>, <set>, <vector> in chrome/browser/*.h. (Closed)
Patch Set: Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // Defines the public interface for the blocked popup notifications. This 5 // Defines the public interface for the blocked popup notifications. This
6 // interface should only be used by TabContents. Users and subclasses of 6 // interface should only be used by TabContents. Users and subclasses of
7 // TabContents should use the appropriate methods on TabContents to access 7 // TabContents should use the appropriate methods on TabContents to access
8 // information about blocked popups. 8 // information about blocked popups.
9 9
10 #ifndef CHROME_BROWSER_BLOCKED_POPUP_CONTAINER_H_ 10 #ifndef CHROME_BROWSER_BLOCKED_POPUP_CONTAINER_H_
11 #define CHROME_BROWSER_BLOCKED_POPUP_CONTAINER_H_ 11 #define CHROME_BROWSER_BLOCKED_POPUP_CONTAINER_H_
12 #pragma once 12 #pragma once
13 13
14 #include <vector>
15
14 #include "chrome/browser/tab_contents/tab_contents_delegate.h" 16 #include "chrome/browser/tab_contents/tab_contents_delegate.h"
15 17
16 // Takes ownership of TabContents that are unrequested popup windows. 18 // Takes ownership of TabContents that are unrequested popup windows.
17 class BlockedPopupContainer : public TabContentsDelegate { 19 class BlockedPopupContainer : public TabContentsDelegate {
18 public: 20 public:
19 typedef std::vector<TabContents*> BlockedContents; 21 typedef std::vector<TabContents*> BlockedContents;
20 22
21 // Creates a container for a certain TabContents: 23 // Creates a container for a certain TabContents:
22 explicit BlockedPopupContainer(TabContents* owner); 24 explicit BlockedPopupContainer(TabContents* owner);
23 25
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // The TabContents that owns and constrains this BlockedPopupContainer. 108 // The TabContents that owns and constrains this BlockedPopupContainer.
107 TabContents* owner_; 109 TabContents* owner_;
108 110
109 // Information about all blocked popups. 111 // Information about all blocked popups.
110 BlockedPopups blocked_popups_; 112 BlockedPopups blocked_popups_;
111 113
112 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockedPopupContainer); 114 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockedPopupContainer);
113 }; 115 };
114 116
115 #endif // CHROME_BROWSER_BLOCKED_POPUP_CONTAINER_H_ 117 #endif // CHROME_BROWSER_BLOCKED_POPUP_CONTAINER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_accessibility_win.h » ('j') | chrome/browser/profile_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698