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

Side by Side Diff: chrome/browser/gtk/collected_cookies_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
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 "chrome/browser/gtk/collected_cookies_gtk.h" 5 #include "chrome/browser/gtk/collected_cookies_gtk.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "chrome/browser/cookies_tree_model.h" 8 #include "chrome/browser/cookies_tree_model.h"
9 #include "chrome/browser/gtk/gtk_util.h" 9 #include "chrome/browser/gtk/gtk_util.h"
10 #include "chrome/browser/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/tab_contents/tab_contents.h" 11 #include "chrome/browser/tab_contents/tab_contents.h"
12 #include "chrome/common/notification_service.h" 12 #include "chrome/common/notification_service.h"
13 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
14 14
15 namespace { 15 namespace {
16 // Width and height of the cookie tree view. 16 // Width and height of the cookie tree view.
17 const int kTreeViewWidth = 450; 17 const int kTreeViewWidth = 450;
18 const int kTreeViewHeight = 150; 18 const int kTreeViewHeight = 150;
19 19
20 // Padding within the banner box. 20 // Padding within the banner box.
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 g_signal_handlers_block_by_func( 390 g_signal_handlers_block_by_func(
391 tree_view, reinterpret_cast<gpointer>(OnTreeViewRowExpandedThunk), this); 391 tree_view, reinterpret_cast<gpointer>(OnTreeViewRowExpandedThunk), this);
392 gtk_tree_view_expand_row(GTK_TREE_VIEW(tree_view), path, TRUE); 392 gtk_tree_view_expand_row(GTK_TREE_VIEW(tree_view), path, TRUE);
393 g_signal_handlers_unblock_by_func( 393 g_signal_handlers_unblock_by_func(
394 tree_view, reinterpret_cast<gpointer>(OnTreeViewRowExpandedThunk), this); 394 tree_view, reinterpret_cast<gpointer>(OnTreeViewRowExpandedThunk), this);
395 } 395 }
396 396
397 void CollectedCookiesGtk::OnTreeViewSelectionChange(GtkWidget* selection) { 397 void CollectedCookiesGtk::OnTreeViewSelectionChange(GtkWidget* selection) {
398 EnableControls(); 398 EnableControls();
399 } 399 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc ('k') | chrome/browser/gtk/content_setting_bubble_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698