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

Side by Side Diff: chrome/browser/ui/views/dialog_stubs_gtk.cc

Issue 7831051: content: Move collected cookies constrained window to TabContentsWrapper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile failures for everyone\! 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 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 // This file contains stub implementations of the functions declared in 5 // This file contains stub implementations of the functions declared in
6 // browser_dialogs.h that are currently unimplemented in GTK-views. 6 // browser_dialogs.h that are currently unimplemented in GTK-views.
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 23 matching lines...) Expand all
34 Profile* profile) { 34 Profile* profile) {
35 new EditSearchEngineDialog(GTK_WINDOW(parent), template_url, NULL, profile); 35 new EditSearchEngineDialog(GTK_WINDOW(parent), template_url, NULL, profile);
36 } 36 }
37 37
38 void ShowRepostFormWarningDialog(gfx::NativeWindow parent_window, 38 void ShowRepostFormWarningDialog(gfx::NativeWindow parent_window,
39 TabContents* tab_contents) { 39 TabContents* tab_contents) {
40 new RepostFormWarningGtk(GTK_WINDOW(parent_window), tab_contents); 40 new RepostFormWarningGtk(GTK_WINDOW(parent_window), tab_contents);
41 } 41 }
42 42
43 void ShowCollectedCookiesDialog(gfx::NativeWindow parent_window, 43 void ShowCollectedCookiesDialog(gfx::NativeWindow parent_window,
44 TabContents* tab_contents) { 44 TabContentsWrapper* wrapper) {
45 #if defined(OS_CHROMEOS) 45 #if defined(OS_CHROMEOS)
46 CollectedCookiesUIDelegate::Show(tab_contents); 46 CollectedCookiesUIDelegate::Show(wrapper);
47 #else 47 #else
48 new CollectedCookiesGtk(GTK_WINDOW(parent_window), tab_contents); 48 new CollectedCookiesGtk(GTK_WINDOW(parent_window), wrapper);
49 #endif 49 #endif
50 } 50 }
51 51
52 } // namespace browser 52 } // namespace browser
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/collected_cookies_win.cc ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698