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

Unified Diff: chrome/browser/ui/views/page_info_window.h

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, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/page_info_window.h
diff --git a/chrome/browser/page_info_window.h b/chrome/browser/ui/views/page_info_window.h
similarity index 60%
rename from chrome/browser/page_info_window.h
rename to chrome/browser/ui/views/page_info_window.h
index 5aaceb39a5738815491919e46183c1dfdf659c73..15881d77bf1fa9b996b8983cc233843f6452667c 100644
--- a/chrome/browser/page_info_window.h
+++ b/chrome/browser/ui/views/page_info_window.h
@@ -1,20 +1,20 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_PAGE_INFO_WINDOW_H_
-#define CHROME_BROWSER_PAGE_INFO_WINDOW_H_
+#ifndef CHROME_BROWSER_UI_VIEWS_PAGE_INFO_WINDOW_H_
+#define CHROME_BROWSER_UI_VIEWS_PAGE_INFO_WINDOW_H_
#pragma once
#include "content/browser/tab_contents/navigation_entry.h"
-#include "ui/gfx/native_widget_types.h"
+class BrowserView;
class Profile;
class GURL;
namespace browser {
-void ShowPageInfoBubble(gfx::NativeWindow parent,
+void ShowPageInfoBubble(BrowserView* browser_view,
Profile* profile,
const GURL& url,
const NavigationEntry::SSLStatus& ssl,
@@ -22,4 +22,4 @@ void ShowPageInfoBubble(gfx::NativeWindow parent,
} // namespace browser
-#endif // CHROME_BROWSER_PAGE_INFO_WINDOW_H_
+#endif // CHROME_BROWSER_UI_VIEWS_PAGE_INFO_WINDOW_H_

Powered by Google App Engine
This is Rietveld 408576698