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

Side by Side Diff: views/controls/separator.cc

Issue 114059: Refactors HWNDView, NativeViewHostGtk and NativeViewHost so that they match t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | « views/controls/scrollbar/native_scroll_bar.cc ('k') | views/controls/table/table_view.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/separator.h" 5 #include "views/controls/separator.h"
6 6
7 #include "views/controls/hwnd_view.h" 7 #include "views/controls/native/native_view_host.h"
8 8
9 namespace views { 9 namespace views {
10 10
11 static const int kSeparatorSize = 2; 11 static const int kSeparatorSize = 2;
12 12
13 Separator::Separator() { 13 Separator::Separator() {
14 SetFocusable(false); 14 SetFocusable(false);
15 } 15 }
16 16
17 Separator::~Separator() { 17 Separator::~Separator() {
(...skipping 10 matching lines...) Expand all
28 28
29 LRESULT Separator::OnNotify(int w_param, LPNMHDR l_param) { 29 LRESULT Separator::OnNotify(int w_param, LPNMHDR l_param) {
30 return 0; 30 return 0;
31 } 31 }
32 32
33 gfx::Size Separator::GetPreferredSize() { 33 gfx::Size Separator::GetPreferredSize() {
34 return gfx::Size(width(), fixed_height_); 34 return gfx::Size(width(), fixed_height_);
35 } 35 }
36 36
37 } // namespace views 37 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/scrollbar/native_scroll_bar.cc ('k') | views/controls/table/table_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698