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

Side by Side Diff: content/renderer/external_popup_menu.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/renderer/external_popup_menu.h" 5 #include "content/renderer/external_popup_menu.h"
6 6
7 #include <stddef.h>
8
9 #include "build/build_config.h"
7 #include "content/common/frame_messages.h" 10 #include "content/common/frame_messages.h"
8 #include "content/renderer/menu_item_builder.h" 11 #include "content/renderer/menu_item_builder.h"
9 #include "content/renderer/render_frame_impl.h" 12 #include "content/renderer/render_frame_impl.h"
10 #include "third_party/WebKit/public/platform/WebRect.h" 13 #include "third_party/WebKit/public/platform/WebRect.h"
11 #include "third_party/WebKit/public/web/WebExternalPopupMenuClient.h" 14 #include "third_party/WebKit/public/web/WebExternalPopupMenuClient.h"
12 15
13 namespace content { 16 namespace content {
14 17
15 ExternalPopupMenu::ExternalPopupMenu( 18 ExternalPopupMenu::ExternalPopupMenu(
16 RenderFrameImpl* render_frame, 19 RenderFrameImpl* render_frame,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 if (!popup_menu_client_) 80 if (!popup_menu_client_)
78 return; 81 return;
79 if (canceled) 82 if (canceled)
80 popup_menu_client_->didCancel(); 83 popup_menu_client_->didCancel();
81 else 84 else
82 popup_menu_client_->didAcceptIndices(indices); 85 popup_menu_client_->didAcceptIndices(indices);
83 } 86 }
84 #endif 87 #endif
85 88
86 } // namespace content 89 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/external_popup_menu.h ('k') | content/renderer/external_popup_menu_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698