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

Side by Side Diff: webkit/port/platform/chromium/RenderThemeGtk.cpp

Issue 8131: More stubbing out. With this and the rest of Linux pending, test_shell links. (Closed)
Patch Set: It links Created 12 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Apple Inc. 2 * Copyright (C) 2007 Apple Inc.
3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 3 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
4 * Copyright (C) 2008 Collabora Ltd. 4 * Copyright (C) 2008 Collabora Ltd.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 429
430 return time / 2000.; 430 return time / 2000.;
431 } 431 }
432 432
433 void RenderThemeGtk::systemFont(int, FontDescription&) const 433 void RenderThemeGtk::systemFont(int, FontDescription&) const
434 { 434 {
435 // If you remove this notImplemented(), replace it with an comment that expl ains why. 435 // If you remove this notImplemented(), replace it with an comment that expl ains why.
436 notImplemented(); 436 notImplemented();
437 } 437 }
438 438
439 void RenderTheme::systemFont(int, Document*, FontDescription&) const 439 void RenderThemeGtk::systemFont(int, Document*, FontDescription&) const
440 { 440 {
441 notImplemented(); 441 notImplemented();
442 } 442 }
443 443
444 static void gtkStyleSetCallback(GtkWidget* widget, GtkStyle* previous, RenderThe me* renderTheme) 444 static void gtkStyleSetCallback(GtkWidget* widget, GtkStyle* previous, RenderThe me* renderTheme)
445 { 445 {
446 // FIXME: Make sure this function doesn't get called many times for a single GTK+ style change signal. 446 // FIXME: Make sure this function doesn't get called many times for a single GTK+ style change signal.
447 renderTheme->platformColorsDidChange(); 447 renderTheme->platformColorsDidChange();
448 } 448 }
449 449
(...skipping 30 matching lines...) Expand all
480 480
481 m_gtkTreeView = gtk_tree_view_new(); 481 m_gtkTreeView = gtk_tree_view_new();
482 g_signal_connect(m_gtkTreeView, "style-set", G_CALLBACK(gtkStyleSetCallback) , theme()); 482 g_signal_connect(m_gtkTreeView, "style-set", G_CALLBACK(gtkStyleSetCallback) , theme());
483 gtk_container_add(gtkContainer(), m_gtkTreeView); 483 gtk_container_add(gtkContainer(), m_gtkTreeView);
484 gtk_widget_realize(m_gtkTreeView); 484 gtk_widget_realize(m_gtkTreeView);
485 485
486 return m_gtkTreeView; 486 return m_gtkTreeView;
487 } 487 }
488 488
489 } 489 }
OLDNEW
« no previous file with comments | « webkit/port/platform/chromium/IconLinux.cpp ('k') | webkit/port/platform/chromium/TemporaryLinkStubs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698