OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_WEBSITE_SETTINGS_PERMISSION_PROMPT_H_ | 5 #ifndef CHROME_BROWSER_UI_PERMISSION_BUBBLE_PERMISSION_PROMPT_H_ |
6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_PERMISSION_PROMPT_H_ | 6 #define CHROME_BROWSER_UI_PERMISSION_BUBBLE_PERMISSION_PROMPT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "ui/gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
13 | 13 |
14 class PermissionRequest; | 14 class PermissionRequest; |
15 | 15 |
16 namespace content { | 16 namespace content { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 virtual bool IsVisible() = 0; | 69 virtual bool IsVisible() = 0; |
70 | 70 |
71 // Updates where the prompt should be anchored. ex: fullscreen toggle. | 71 // Updates where the prompt should be anchored. ex: fullscreen toggle. |
72 virtual void UpdateAnchorPosition() = 0; | 72 virtual void UpdateAnchorPosition() = 0; |
73 | 73 |
74 // Returns a reference to this prompt's native window. | 74 // Returns a reference to this prompt's native window. |
75 // TODO(hcarmona): Remove this as part of the bubble API work. | 75 // TODO(hcarmona): Remove this as part of the bubble API work. |
76 virtual gfx::NativeWindow GetNativeWindow() = 0; | 76 virtual gfx::NativeWindow GetNativeWindow() = 0; |
77 }; | 77 }; |
78 | 78 |
79 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_PERMISSION_PROMPT_H_ | 79 #endif // CHROME_BROWSER_UI_PERMISSION_BUBBLE_PERMISSION_PROMPT_H_ |
OLD | NEW |