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

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, 2 months 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') | gyp/images.gyp » ('J')
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 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 } 1105 }
1109 1106
1110 // NOTE(chudy): Makes first item unselectable. 1107 // NOTE(chudy): Makes first item unselectable.
1111 QStandardItemModel* model = qobject_cast<QStandardItemModel*>( 1108 QStandardItemModel* model = qobject_cast<QStandardItemModel*>(
1112 fFilter.model()); 1109 fFilter.model());
1113 QModelIndex firstIndex = model->index(0, fFilter.modelColumn(), 1110 QModelIndex firstIndex = model->index(0, fFilter.modelColumn(),
1114 fFilter.rootModelIndex()); 1111 fFilter.rootModelIndex());
1115 QStandardItem* firstItem = model->itemFromIndex(firstIndex); 1112 QStandardItem* firstItem = model->itemFromIndex(firstIndex);
1116 firstItem->setSelectable(false); 1113 firstItem->setSelectable(false);
1117 } 1114 }
OLDNEW
« no previous file with comments | « bench/nanobench.cpp ('k') | dm/DM.cpp » ('j') | gyp/images.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698