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

Side by Side Diff: chrome/browser/ui/permission_bubble/permission_prompt.h

Issue 2748443005: Rename website_settings UI folders to permission_bubble. (Closed)
Patch Set: Rebase. Created 3 years, 9 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 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698