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

Side by Side Diff: debugger/QT/SkDebuggerGUI.cpp

Issue 670453002: Remove image decoder and encoder autoregistration (Closed) Base URL: https://skia.googlesource.com/skia.git@separate-image-decoder-01-skpicture
Patch Set: Created 6 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
« no previous file with comments | « bench/nanobench.cpp ('k') | dm/DM.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkDebuggerGUI.h" 8 #include "SkDebuggerGUI.h"
9 #include "SkForceLinking.h"
10 #include "SkGraphics.h" 9 #include "SkGraphics.h"
11 #include "SkImageDecoder.h" 10 #include "SkImageDecoder.h"
12 #include <QListWidgetItem> 11 #include <QListWidgetItem>
13 #include "PictureRenderer.h" 12 #include "PictureRenderer.h"
14 #include "SkPicturePlayback.h" 13 #include "SkPicturePlayback.h"
15 #include "SkPictureRecord.h" 14 #include "SkPictureRecord.h"
16 #include "SkPictureData.h" 15 #include "SkPictureData.h"
17 16
18 __SK_FORCE_IMAGE_DECODER_LINKING;
19
20 #if defined(SK_BUILD_FOR_WIN32) 17 #if defined(SK_BUILD_FOR_WIN32)
21 #include "SysTimer_windows.h" 18 #include "SysTimer_windows.h"
22 #elif defined(SK_BUILD_FOR_MAC) 19 #elif defined(SK_BUILD_FOR_MAC)
23 #include "SysTimer_mach.h" 20 #include "SysTimer_mach.h"
24 #elif defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_ANDROID) 21 #elif defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_ANDROID)
25 #include "SysTimer_posix.h" 22 #include "SysTimer_posix.h"
26 #else 23 #else
27 #include "SysTimer_c.h" 24 #include "SysTimer_c.h"
28 #endif 25 #endif
29 26
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 } 859 }
863 860
864 // NOTE(chudy): Makes first item unselectable. 861 // NOTE(chudy): Makes first item unselectable.
865 QStandardItemModel* model = qobject_cast<QStandardItemModel*>( 862 QStandardItemModel* model = qobject_cast<QStandardItemModel*>(
866 fFilter.model()); 863 fFilter.model());
867 QModelIndex firstIndex = model->index(0, fFilter.modelColumn(), 864 QModelIndex firstIndex = model->index(0, fFilter.modelColumn(),
868 fFilter.rootModelIndex()); 865 fFilter.rootModelIndex());
869 QStandardItem* firstItem = model->itemFromIndex(firstIndex); 866 QStandardItem* firstItem = model->itemFromIndex(firstIndex);
870 firstItem->setSelectable(false); 867 firstItem->setSelectable(false);
871 } 868 }
OLDNEW
« no previous file with comments | « bench/nanobench.cpp ('k') | dm/DM.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698