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

Side by Side Diff: chrome/browser/ui/gtk/page_info_bubble_gtk.cc

Issue 8068020: Converts usage of GetBrowserViewForNativeWindow to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate review feedback, and make ShowPageInfo platform specific Created 9 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include <gtk/gtk.h> 5 #include <gtk/gtk.h>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/certificate_viewer.h" 11 #include "chrome/browser/certificate_viewer.h"
12 #include "chrome/browser/google/google_util.h" 12 #include "chrome/browser/google/google_util.h"
13 #include "chrome/browser/page_info_model.h" 13 #include "chrome/browser/page_info_model.h"
14 #include "chrome/browser/page_info_model_observer.h" 14 #include "chrome/browser/page_info_model_observer.h"
15 #include "chrome/browser/page_info_window.h"
16 #include "chrome/browser/ui/browser_list.h" 15 #include "chrome/browser/ui/browser_list.h"
17 #include "chrome/browser/ui/gtk/browser_toolbar_gtk.h" 16 #include "chrome/browser/ui/gtk/browser_toolbar_gtk.h"
18 #include "chrome/browser/ui/gtk/browser_window_gtk.h" 17 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
19 #include "chrome/browser/ui/gtk/bubble/bubble_gtk.h" 18 #include "chrome/browser/ui/gtk/bubble/bubble_gtk.h"
20 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h" 19 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h"
21 #include "chrome/browser/ui/gtk/gtk_theme_service.h" 20 #include "chrome/browser/ui/gtk/gtk_theme_service.h"
22 #include "chrome/browser/ui/gtk/gtk_util.h" 21 #include "chrome/browser/ui/gtk/gtk_util.h"
23 #include "chrome/browser/ui/gtk/location_bar_view_gtk.h" 22 #include "chrome/browser/ui/gtk/location_bar_view_gtk.h"
24 #include "chrome/common/url_constants.h" 23 #include "chrome/common/url_constants.h"
25 #include "googleurl/src/gurl.h" 24 #include "googleurl/src/gurl.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 239
241 void ShowPageInfoBubble(gfx::NativeWindow parent, 240 void ShowPageInfoBubble(gfx::NativeWindow parent,
242 Profile* profile, 241 Profile* profile,
243 const GURL& url, 242 const GURL& url,
244 const NavigationEntry::SSLStatus& ssl, 243 const NavigationEntry::SSLStatus& ssl,
245 bool show_history) { 244 bool show_history) {
246 new PageInfoBubbleGtk(parent, profile, url, ssl, show_history); 245 new PageInfoBubbleGtk(parent, profile, url, ssl, show_history);
247 } 246 }
248 247
249 } // namespace browser 248 } // namespace browser
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698