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

Side by Side Diff: chrome/browser/ui/browser_dialogs.h

Issue 1995813002: Use the virtual URL of the page in the Page Info Bubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mac build Created 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_DIALOGS_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/ui/bookmarks/bookmark_editor.h" 10 #include "chrome/browser/ui/bookmarks/bookmark_editor.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 // For Mac, returns true if Chrome should show an equivalent toolkit-views based 103 // For Mac, returns true if Chrome should show an equivalent toolkit-views based
104 // dialog instead of a WebUI-styled Cocoa dialog. 104 // dialog instead of a WebUI-styled Cocoa dialog.
105 bool ToolkitViewsWebUIDialogsEnabled(); 105 bool ToolkitViewsWebUIDialogsEnabled();
106 106
107 // Shows a Views website settings bubble at the given anchor point. 107 // Shows a Views website settings bubble at the given anchor point.
108 void ShowWebsiteSettingsBubbleViewsAtPoint( 108 void ShowWebsiteSettingsBubbleViewsAtPoint(
109 const gfx::Point& anchor_point, 109 const gfx::Point& anchor_point,
110 Profile* profile, 110 Profile* profile,
111 content::WebContents* web_contents, 111 content::WebContents* web_contents,
112 const GURL& url, 112 const GURL& virtual_url,
113 const security_state::SecurityStateModel::SecurityInfo& security_info); 113 const security_state::SecurityStateModel::SecurityInfo& security_info);
114 114
115 // Show a Views bookmark bubble at the given point. This occurs when the 115 // Show a Views bookmark bubble at the given point. This occurs when the
116 // bookmark star is clicked or "Bookmark This Page..." is selected from a menu 116 // bookmark star is clicked or "Bookmark This Page..." is selected from a menu
117 // or via a key equivalent. 117 // or via a key equivalent.
118 void ShowBookmarkBubbleViewsAtPoint(const gfx::Point& anchor_point, 118 void ShowBookmarkBubbleViewsAtPoint(const gfx::Point& anchor_point,
119 gfx::NativeView parent, 119 gfx::NativeView parent,
120 bookmarks::BookmarkBubbleObserver* observer, 120 bookmarks::BookmarkBubbleObserver* observer,
121 Browser* browser, 121 Browser* browser,
122 const GURL& url, 122 const GURL& url,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleViewsBridge); 159 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleViewsBridge);
160 }; 160 };
161 161
162 #endif // OS_MACOSX 162 #endif // OS_MACOSX
163 163
164 #endif // TOOLKIT_VIEWS 164 #endif // TOOLKIT_VIEWS
165 165
166 } // namespace chrome 166 } // namespace chrome
167 167
168 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 168 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc ('k') | chrome/browser/ui/browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698