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

Side by Side Diff: views/controls/button/native_button.cc

Issue 3066014: Cleanup: Remove unneeded headers from app/ (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 10 years, 4 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 | « printing/printed_document_win.cc ('k') | views/controls/combobox/native_combobox_win.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) 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 "views/controls/button/native_button.h" 5 #include "views/controls/button/native_button.h"
6 6
7 #if defined(OS_LINUX) 7 #if defined(OS_LINUX)
8 #include <gdk/gdkkeysyms.h> 8 #include <gdk/gdkkeysyms.h>
9 #include "views/screen.h" 9 #include "views/screen.h"
10 #endif 10 #endif
11 11
12 #include "app/l10n_util.h"
13 #include "base/i18n/rtl.h" 12 #include "base/i18n/rtl.h"
14 #include "base/keyboard_codes.h" 13 #include "base/keyboard_codes.h"
15 #include "base/logging.h" 14 #include "base/logging.h"
16 #include "views/controls/native/native_view_host.h" 15 #include "views/controls/native/native_view_host.h"
17 16
18 namespace views { 17 namespace views {
19 18
20 #if defined(OS_WIN) 19 #if defined(OS_WIN)
21 // The min size in DLUs comes from 20 // The min size in DLUs comes from
22 // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwue/html/c h14e.asp 21 // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwue/html/c h14e.asp
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 native_wrapper->UpdateEnabled(); 225 native_wrapper->UpdateEnabled();
227 return native_wrapper; 226 return native_wrapper;
228 } 227 }
229 228
230 void NativeButton::InitBorder() { 229 void NativeButton::InitBorder() {
231 set_border(Border::CreateEmptyBorder(0, kButtonBorderHWidth, 0, 230 set_border(Border::CreateEmptyBorder(0, kButtonBorderHWidth, 0,
232 kButtonBorderHWidth)); 231 kButtonBorderHWidth));
233 } 232 }
234 233
235 } // namespace views 234 } // namespace views
OLDNEW
« no previous file with comments | « printing/printed_document_win.cc ('k') | views/controls/combobox/native_combobox_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698