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

Side by Side Diff: chrome/browser/gtk/options/url_picker_dialog_gtk.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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
« no previous file with comments | « chrome/browser/gtk/options/passwords_page_gtk.h ('k') | chrome/browser/gtk/overflow_button.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "chrome/browser/gtk/accessible_widget_helper_gtk.h" 10 #include "chrome/browser/gtk/accessible_widget_helper_gtk.h"
11 #include "chrome/browser/gtk/gtk_tree.h" 11 #include "chrome/browser/gtk/gtk_tree.h"
12 #include "chrome/browser/gtk/gtk_util.h" 12 #include "chrome/browser/gtk/gtk_util.h"
13 #include "chrome/browser/gtk/options/url_picker_dialog_gtk.h" 13 #include "chrome/browser/gtk/options/url_picker_dialog_gtk.h"
14 #include "chrome/browser/net/url_fixer_upper.h" 14 #include "chrome/browser/net/url_fixer_upper.h"
15 #include "chrome/browser/possible_url_model.h" 15 #include "chrome/browser/possible_url_model.h"
16 #include "chrome/browser/prefs/pref_service.h" 16 #include "chrome/browser/prefs/pref_service.h"
17 #include "chrome/browser/profile.h" 17 #include "chrome/browser/profiles/profile.h"
18 #include "chrome/common/pref_names.h" 18 #include "chrome/common/pref_names.h"
19 #include "gfx/gtk_util.h" 19 #include "gfx/gtk_util.h"
20 #include "googleurl/src/gurl.h" 20 #include "googleurl/src/gurl.h"
21 #include "grit/chromium_strings.h" 21 #include "grit/chromium_strings.h"
22 #include "grit/generated_resources.h" 22 #include "grit/generated_resources.h"
23 #include "grit/locale_settings.h" 23 #include "grit/locale_settings.h"
24 #include "net/base/net_util.h" 24 #include "net/base/net_util.h"
25 #include "third_party/skia/include/core/SkBitmap.h" 25 #include "third_party/skia/include/core/SkBitmap.h"
26 26
27 namespace { 27 namespace {
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 267
268 void UrlPickerDialogGtk::OnResponse(GtkWidget* dialog, int response_id) { 268 void UrlPickerDialogGtk::OnResponse(GtkWidget* dialog, int response_id) {
269 if (response_id == GTK_RESPONSE_OK) 269 if (response_id == GTK_RESPONSE_OK)
270 AddURL(); 270 AddURL();
271 gtk_widget_destroy(dialog_); 271 gtk_widget_destroy(dialog_);
272 } 272 }
273 273
274 void UrlPickerDialogGtk::OnWindowDestroy(GtkWidget* widget) { 274 void UrlPickerDialogGtk::OnWindowDestroy(GtkWidget* widget) {
275 MessageLoop::current()->DeleteSoon(FROM_HERE, this); 275 MessageLoop::current()->DeleteSoon(FROM_HERE, this);
276 } 276 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/options/passwords_page_gtk.h ('k') | chrome/browser/gtk/overflow_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698