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

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

Issue 8621006: Remove most obvious TOUCH_UI code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert file that CQ does not like. Created 9 years, 1 month 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"
11 #include "chrome/browser/ui/gtk/edit_search_engine_dialog.h" 11 #include "chrome/browser/ui/gtk/edit_search_engine_dialog.h"
12 #include "chrome/browser/ui/views/browser_dialogs.h" 12 #include "chrome/browser/ui/views/browser_dialogs.h"
13 #include "chrome/browser/ui/webui/collected_cookies_ui_delegate.h" 13 #include "chrome/browser/ui/webui/collected_cookies_ui_delegate.h"
14 #include "ui/gfx/native_widget_types.h" 14 #include "ui/gfx/native_widget_types.h"
15 15
16 #if !defined(WEBUI_TASK_MANAGER) 16 #if !defined(WEBUI_TASK_MANAGER)
17 #include "chrome/browser/ui/gtk/task_manager_gtk.h" 17 #include "chrome/browser/ui/gtk/task_manager_gtk.h"
18 #endif 18 #endif
19 19
20 #if !defined(OS_CHROMEOS) && !defined(TOUCH_UI) 20 #if !defined(OS_CHROMEOS)
21 #include "chrome/browser/ui/gtk/collected_cookies_gtk.h" 21 #include "chrome/browser/ui/gtk/collected_cookies_gtk.h"
22 #include "chrome/browser/ui/gtk/repost_form_warning_gtk.h" 22 #include "chrome/browser/ui/gtk/repost_form_warning_gtk.h"
23 #endif 23 #endif
24 24
25 namespace browser { 25 namespace browser {
26 26
27 #if !defined(WEBUI_TASK_MANAGER) 27 #if !defined(WEBUI_TASK_MANAGER)
28 void ShowTaskManager() { 28 void ShowTaskManager() {
29 TaskManagerGtk::Show(false); 29 TaskManagerGtk::Show(false);
30 } 30 }
31 31
32 void ShowBackgroundPages() { 32 void ShowBackgroundPages() {
33 TaskManagerGtk::Show(true); 33 TaskManagerGtk::Show(true);
34 } 34 }
35 #endif 35 #endif
36 36
37 void EditSearchEngine(gfx::NativeWindow parent, 37 void EditSearchEngine(gfx::NativeWindow parent,
38 const TemplateURL* template_url, 38 const TemplateURL* template_url,
39 EditSearchEngineControllerDelegate* delegate, 39 EditSearchEngineControllerDelegate* delegate,
40 Profile* profile) { 40 Profile* profile) {
41 new EditSearchEngineDialog(GTK_WINDOW(parent), template_url, NULL, profile); 41 new EditSearchEngineDialog(GTK_WINDOW(parent), template_url, NULL, profile);
42 } 42 }
43 43
44 } // namespace browser 44 } // namespace browser
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/constrained_window_gtk.cc ('k') | chrome/browser/ui/views/dropdown_bar_host_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698