| OLD | NEW |
| 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 #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" |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 navigator_->OpenURL(OpenURLParams(GURL(chrome::kPageInfoHelpCenterURL), | 241 navigator_->OpenURL(OpenURLParams(GURL(chrome::kPageInfoHelpCenterURL), |
| 242 content::Referrer(), | 242 content::Referrer(), |
| 243 NEW_FOREGROUND_TAB, | 243 NEW_FOREGROUND_TAB, |
| 244 content::PAGE_TRANSITION_LINK, | 244 content::PAGE_TRANSITION_LINK, |
| 245 false)); | 245 false)); |
| 246 bubble_->Close(); | 246 bubble_->Close(); |
| 247 } | 247 } |
| 248 | 248 |
| 249 } // namespace | 249 } // namespace |
| 250 | 250 |
| 251 namespace browser { | 251 namespace chrome { |
| 252 | 252 |
| 253 void ShowPageInfoBubble(gfx::NativeWindow parent, | 253 void ShowPageInfoBubble(gfx::NativeWindow parent, |
| 254 WebContents* web_contents, | 254 WebContents* web_contents, |
| 255 const GURL& url, | 255 const GURL& url, |
| 256 const SSLStatus& ssl, | 256 const SSLStatus& ssl, |
| 257 bool show_history, | 257 bool show_history, |
| 258 content::PageNavigator* navigator) { | 258 content::PageNavigator* navigator) { |
| 259 new PageInfoBubbleGtk( | 259 new PageInfoBubbleGtk( |
| 260 parent, web_contents, url, ssl, show_history, navigator); | 260 parent, web_contents, url, ssl, show_history, navigator); |
| 261 } | 261 } |
| 262 | 262 |
| 263 } // namespace browser | 263 } // namespace chrome |
| OLD | NEW |