| OLD | NEW |
| 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 // TODO(idanan): Rename class to BlockedContentContainer. | 10 // TODO(idanan): Rename class to BlockedContentContainer. |
| 11 | 11 |
| 12 #ifndef CHROME_BROWSER_BLOCKED_POPUP_CONTAINER_H_ | 12 #ifndef CHROME_BROWSER_BLOCKED_POPUP_CONTAINER_H_ |
| 13 #define CHROME_BROWSER_BLOCKED_POPUP_CONTAINER_H_ | 13 #define CHROME_BROWSER_BLOCKED_POPUP_CONTAINER_H_ |
| 14 | 14 |
| 15 #include <map> | 15 #include <map> |
| 16 #include <set> | 16 #include <set> |
| 17 #include <string> | 17 #include <string> |
| 18 #include <vector> | 18 #include <vector> |
| 19 | 19 |
| 20 #include "base/gfx/native_widget_types.h" | 20 #include "app/gfx/native_widget_types.h" |
| 21 #include "base/gfx/rect.h" | 21 #include "base/gfx/rect.h" |
| 22 #include "base/string16.h" | 22 #include "base/string16.h" |
| 23 #include "chrome/browser/tab_contents/constrained_window.h" | 23 #include "chrome/browser/tab_contents/constrained_window.h" |
| 24 #include "chrome/browser/tab_contents/tab_contents_delegate.h" | 24 #include "chrome/browser/tab_contents/tab_contents_delegate.h" |
| 25 #include "chrome/common/notification_registrar.h" | 25 #include "chrome/common/notification_registrar.h" |
| 26 | 26 |
| 27 class BlockedPopupContainer; | 27 class BlockedPopupContainer; |
| 28 class PrefService; | 28 class PrefService; |
| 29 class Profile; | 29 class Profile; |
| 30 class TabContents; | 30 class TabContents; |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 // Our platform specific view. | 308 // Our platform specific view. |
| 309 BlockedPopupContainerView* view_; | 309 BlockedPopupContainerView* view_; |
| 310 | 310 |
| 311 // The profile for the browser associated with the container. | 311 // The profile for the browser associated with the container. |
| 312 Profile* profile_; | 312 Profile* profile_; |
| 313 | 313 |
| 314 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockedPopupContainer); | 314 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockedPopupContainer); |
| 315 }; | 315 }; |
| 316 | 316 |
| 317 #endif // CHROME_BROWSER_BLOCKED_POPUP_CONTAINER_H_ | 317 #endif // CHROME_BROWSER_BLOCKED_POPUP_CONTAINER_H_ |
| OLD | NEW |