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

Side by Side Diff: ui/views/examples/single_split_view_example.cc

Issue 1543173002: Switch to standard integer types in ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/views/examples/single_split_view_example.h" 5 #include "ui/views/examples/single_split_view_example.h"
6 6
7 #include "base/macros.h"
7 #include "ui/views/background.h" 8 #include "ui/views/background.h"
8 #include "ui/views/controls/single_split_view.h" 9 #include "ui/views/controls/single_split_view.h"
9 #include "ui/views/layout/grid_layout.h" 10 #include "ui/views/layout/grid_layout.h"
10 11
11 namespace views { 12 namespace views {
12 namespace examples { 13 namespace examples {
13 namespace { 14 namespace {
14 15
15 // SingleSplitView's content, which draws gradient color on background. 16 // SingleSplitView's content, which draws gradient color on background.
16 class SplittedView : public View { 17 class SplittedView : public View {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 layout->AddView(single_split_view_); 83 layout->AddView(single_split_view_);
83 } 84 }
84 85
85 bool SingleSplitViewExample::SplitHandleMoved(SingleSplitView* sender) { 86 bool SingleSplitViewExample::SplitHandleMoved(SingleSplitView* sender) {
86 PrintStatus("Splitter moved"); 87 PrintStatus("Splitter moved");
87 return true; 88 return true;
88 } 89 }
89 90
90 } // namespace examples 91 } // namespace examples
91 } // namespace views 92 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698