OLD | NEW |
1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2008 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_VIEWS_BLOCKED_POPUP_CONTAINER_H_ | 10 #ifndef CHROME_BROWSER_VIEWS_BLOCKED_POPUP_CONTAINER_H_ |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 178 |
179 // Ignored; BlockedPopupContainer doesn't display a toolbar. | 179 // Ignored; BlockedPopupContainer doesn't display a toolbar. |
180 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) { } | 180 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) { } |
181 | 181 |
182 // Ignored; BlockedPopupContainer doesn't display a bookmarking star. | 182 // Ignored; BlockedPopupContainer doesn't display a bookmarking star. |
183 virtual void URLStarredChanged(TabContents* source, bool starred) { } | 183 virtual void URLStarredChanged(TabContents* source, bool starred) { } |
184 | 184 |
185 // Ignored; BlockedPopupContainer doesn't display a URL bar. | 185 // Ignored; BlockedPopupContainer doesn't display a URL bar. |
186 virtual void UpdateTargetURL(TabContents* source, const GURL& url) { } | 186 virtual void UpdateTargetURL(TabContents* source, const GURL& url) { } |
187 | 187 |
| 188 // Creates an ExtensionFunctionDispatcher that has no browser |
| 189 virtual ExtensionFunctionDispatcher *CreateExtensionFunctionDispatcher( |
| 190 RenderViewHost* render_view_host, |
| 191 const std::string& extension_id); |
| 192 |
188 // Overridden from Animation: | 193 // Overridden from Animation: |
189 | 194 |
190 // Changes the visibility percentage of the BlockedPopupContainer. This is | 195 // Changes the visibility percentage of the BlockedPopupContainer. This is |
191 // called while animating in or out. | 196 // called while animating in or out. |
192 virtual void AnimateToState(double state); | 197 virtual void AnimateToState(double state); |
193 | 198 |
194 protected: | 199 protected: |
195 // Overridden from views::ContainerWin: | 200 // Overridden from views::ContainerWin: |
196 | 201 |
197 // Alerts our |owner_| that we are closing ourselves. Cleans up any remaining | 202 // Alerts our |owner_| that we are closing ourselves. Cleans up any remaining |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 // bounds while animating in or out). | 255 // bounds while animating in or out). |
251 gfx::Rect bounds_; | 256 gfx::Rect bounds_; |
252 | 257 |
253 // The bottom right corner of where we should appear in our parent window. | 258 // The bottom right corner of where we should appear in our parent window. |
254 gfx::Point anchor_point_; | 259 gfx::Point anchor_point_; |
255 | 260 |
256 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockedPopupContainer); | 261 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockedPopupContainer); |
257 }; | 262 }; |
258 | 263 |
259 #endif | 264 #endif |
OLD | NEW |