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

Side by Side Diff: ui/native_theme/native_theme_gtk.cc

Issue 226413006: GTK: Adds #error statements to GTK code to root out unknown bots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « ui/gfx/path_gtk.cc ('k') | ui/surface/transport_dib_gtk.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ui/native_theme/native_theme_gtk.h" 5 #include "ui/native_theme/native_theme_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "ui/gfx/skia_utils_gtk.h" 11 #include "ui/gfx/skia_utils_gtk.h"
12 12
13 #error "The GTK+ port will be deleted later this week. If you are seeing this, y ou are trying to compile it. Please check your gyp flags for 'use_aura=0' and re move them."
14
13 namespace { 15 namespace {
14 16
15 const SkColor kInvalidColorIdColor = SkColorSetRGB(255, 0, 128); 17 const SkColor kInvalidColorIdColor = SkColorSetRGB(255, 0, 128);
16 18
17 // Theme colors returned by GetSystemColor(). 19 // Theme colors returned by GetSystemColor().
18 20
19 // FocusableBorder: 21 // FocusableBorder:
20 const SkColor kFocusedBorderColor = SkColorSetRGB(0x4D, 0x90, 0xFE); 22 const SkColor kFocusedBorderColor = SkColorSetRGB(0x4D, 0x90, 0xFE);
21 const SkColor kUnfocusedBorderColor = SkColorSetRGB(0xD9, 0xD9, 0xD9); 23 const SkColor kUnfocusedBorderColor = SkColorSetRGB(0xD9, 0xD9, 0xD9);
22 24
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 return kInvalidColorIdColor; 101 return kInvalidColorIdColor;
100 } 102 }
101 103
102 NativeThemeGtk::NativeThemeGtk() { 104 NativeThemeGtk::NativeThemeGtk() {
103 } 105 }
104 106
105 NativeThemeGtk::~NativeThemeGtk() { 107 NativeThemeGtk::~NativeThemeGtk() {
106 } 108 }
107 109
108 } // namespace ui 110 } // namespace ui
OLDNEW
« no previous file with comments | « ui/gfx/path_gtk.cc ('k') | ui/surface/transport_dib_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698