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

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

Issue 118480: GTK: Implement BlockedPopupContainerView for linux. (Closed)
Patch Set: Fix for the CreateBorderBin case. Created 11 years, 6 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
« no previous file with comments | « base/string_util.cc ('k') | chrome/browser/blocked_popup_container.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // 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_
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 void CloseAll(); 112 void CloseAll();
113 113
114 // Sets this object up to delete itself. 114 // Sets this object up to delete itself.
115 void Destroy(); 115 void Destroy();
116 116
117 // Message called when a BlockedPopupContainer should move itself to the 117 // Message called when a BlockedPopupContainer should move itself to the
118 // bottom right corner of our parent view. 118 // bottom right corner of our parent view.
119 void RepositionBlockedPopupContainer(); 119 void RepositionBlockedPopupContainer();
120 120
121 // Returns the TabContents for the blocked popup |index|. 121 // Returns the TabContents for the blocked popup |index|.
122 TabContents* GetTabContentsAt(size_t index); 122 TabContents* GetTabContentsAt(size_t index) const;
123 123
124 // Returns the names of hosts showing popups. 124 // Returns the names of hosts showing popups.
125 std::vector<std::string> GetHosts() const; 125 std::vector<std::string> GetHosts() const;
126 126
127 // Deletes all local state. 127 // Deletes all local state.
128 void ClearData(); 128 void ClearData();
129 129
130 // Called to force this container to never show itself again. 130 // Called to force this container to never show itself again.
131 void set_dismissed() { has_been_dismissed_ = true; } 131 void set_dismissed() { has_been_dismissed_ = true; }
132 132
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 // Information about all popup hosts. 264 // Information about all popup hosts.
265 PopupHosts popup_hosts_; 265 PopupHosts popup_hosts_;
266 266
267 // Our platform specific view. 267 // Our platform specific view.
268 BlockedPopupContainerView* view_; 268 BlockedPopupContainerView* view_;
269 269
270 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockedPopupContainer); 270 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockedPopupContainer);
271 }; 271 };
272 272
273 #endif // CHROME_BROWSER_BLOCKED_POPUP_CONTAINER_H_ 273 #endif // CHROME_BROWSER_BLOCKED_POPUP_CONTAINER_H_
OLDNEW
« no previous file with comments | « base/string_util.cc ('k') | chrome/browser/blocked_popup_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698