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

Side by Side Diff: ui/views/controls/menu/menu_runner_impl_adapter.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/controls/menu/menu_runner_impl_adapter.h" 5 #include "ui/views/controls/menu/menu_runner_impl_adapter.h"
6 6
7 #include "ui/views/controls/menu/menu_model_adapter.h" 7 #include "ui/views/controls/menu/menu_model_adapter.h"
8 #include "ui/views/controls/menu/menu_runner_impl.h" 8 #include "ui/views/controls/menu/menu_runner_impl.h"
9 9
10 namespace views { 10 namespace views {
(...skipping 11 matching lines...) Expand all
22 void MenuRunnerImplAdapter::Release() { 22 void MenuRunnerImplAdapter::Release() {
23 impl_->Release(); 23 impl_->Release();
24 delete this; 24 delete this;
25 } 25 }
26 26
27 MenuRunner::RunResult MenuRunnerImplAdapter::RunMenuAt( 27 MenuRunner::RunResult MenuRunnerImplAdapter::RunMenuAt(
28 Widget* parent, 28 Widget* parent,
29 MenuButton* button, 29 MenuButton* button,
30 const gfx::Rect& bounds, 30 const gfx::Rect& bounds,
31 MenuAnchorPosition anchor, 31 MenuAnchorPosition anchor,
32 int32 types) { 32 int32_t types) {
33 return impl_->RunMenuAt(parent, button, bounds, anchor, types); 33 return impl_->RunMenuAt(parent, button, bounds, anchor, types);
34 } 34 }
35 35
36 void MenuRunnerImplAdapter::Cancel() { 36 void MenuRunnerImplAdapter::Cancel() {
37 impl_->Cancel(); 37 impl_->Cancel();
38 } 38 }
39 39
40 base::TimeDelta MenuRunnerImplAdapter::GetClosingEventTime() const { 40 base::TimeDelta MenuRunnerImplAdapter::GetClosingEventTime() const {
41 return impl_->GetClosingEventTime(); 41 return impl_->GetClosingEventTime();
42 } 42 }
43 43
44 MenuRunnerImplAdapter::~MenuRunnerImplAdapter() { 44 MenuRunnerImplAdapter::~MenuRunnerImplAdapter() {
45 } 45 }
46 46
47 } // namespace internal 47 } // namespace internal
48 } // namespace views 48 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698