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

Unified Diff: chrome/browser/ui/views/dialog_stubs_gtk.cc

Issue 6644002: [ChromeOS] Implement collected cookies in webui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address oshima's comments #2 Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/dialog_stubs_gtk.cc
diff --git a/chrome/browser/ui/views/dialog_stubs_gtk.cc b/chrome/browser/ui/views/dialog_stubs_gtk.cc
index 3757bd82dddd1e58a2f7aa59905563b1d7c583f5..91fdb92f26ace56c9d67a9e6749aeb7dd782d0d8 100644
--- a/chrome/browser/ui/views/dialog_stubs_gtk.cc
+++ b/chrome/browser/ui/views/dialog_stubs_gtk.cc
@@ -21,6 +21,7 @@
#include "chrome/browser/ui/options/options_window.h"
#include "chrome/browser/ui/views/browser_dialogs.h"
#include "content/browser/tab_contents/tab_contents.h"
+#include "chrome/browser/ui/webui/collected_cookies_ui_delegate.h"
#include "views/widget/widget.h"
namespace browser {
@@ -72,7 +73,11 @@ void ShowContentSettingsWindow(gfx::NativeWindow parent_window,
void ShowCollectedCookiesDialog(gfx::NativeWindow parent_window,
TabContents* tab_contents) {
+#if defined(OS_CHROMEOS)
+ CollectedCookiesUIDelegate::Show(tab_contents);
+#else
new CollectedCookiesGtk(GTK_WINDOW(parent_window), tab_contents);
+#endif
}
} // namespace browser

Powered by Google App Engine
This is Rietveld 408576698