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

Side by Side Diff: ui/views/linux_ui/window_button_order_provider.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/window/window_button_order_provider.h" 5 #include "ui/views/window/window_button_order_provider.h"
6 6
7 #include "base/macros.h"
7 #include "ui/views/linux_ui/linux_ui.h" 8 #include "ui/views/linux_ui/linux_ui.h"
8 #include "ui/views/linux_ui/window_button_order_observer.h" 9 #include "ui/views/linux_ui/window_button_order_observer.h"
9 10
10 namespace views { 11 namespace views {
11 12
12 namespace { 13 namespace {
13 14
14 class WindowButtonOrderObserverDelegate : public WindowButtonOrderProvider, 15 class WindowButtonOrderObserverDelegate : public WindowButtonOrderProvider,
15 public WindowButtonOrderObserver { 16 public WindowButtonOrderObserver {
16 public: 17 public:
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 } 76 }
76 77
77 void WindowButtonOrderProvider::SetWindowButtonOrder( 78 void WindowButtonOrderProvider::SetWindowButtonOrder(
78 const std::vector<views::FrameButton>& leading_buttons, 79 const std::vector<views::FrameButton>& leading_buttons,
79 const std::vector<views::FrameButton>& trailing_buttons) { 80 const std::vector<views::FrameButton>& trailing_buttons) {
80 leading_buttons_ = leading_buttons; 81 leading_buttons_ = leading_buttons;
81 trailing_buttons_ = trailing_buttons; 82 trailing_buttons_ = trailing_buttons;
82 } 83 }
83 84
84 } // namespace views 85 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698