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

Side by Side Diff: chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.h

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (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 #ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_BROWSERTES T_UTIL_H_ 5 #ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_BROWSERTES T_UTIL_H_
6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_BROWSERTES T_UTIL_H_ 6 #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_BROWSERTES T_UTIL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "content/public/browser/notification_observer.h" 10 #include "content/public/browser/notification_observer.h"
11 #include "content/public/browser/notification_registrar.h" 11 #include "content/public/browser/notification_registrar.h"
12 #include "content/public/common/context_menu_params.h" 12 #include "content/public/common/context_menu_params.h"
13 13
14 class RenderViewContextMenu; 14 class RenderViewContextMenu;
15 15
16 class ContextMenuNotificationObserver : public content::NotificationObserver { 16 class ContextMenuNotificationObserver : public content::NotificationObserver {
17 public: 17 public:
18 // Wait for a context menu to be shown, and then execute |command_to_execute|. 18 // Wait for a context menu to be shown, and then execute |command_to_execute|.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void Cancel(RenderViewContextMenu* context_menu); 54 void Cancel(RenderViewContextMenu* context_menu);
55 55
56 bool menu_visible_; 56 bool menu_visible_;
57 content::ContextMenuParams params_; 57 content::ContextMenuParams params_;
58 content::NotificationRegistrar registrar_; 58 content::NotificationRegistrar registrar_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(ContextMenuWaiter); 60 DISALLOW_COPY_AND_ASSIGN(ContextMenuWaiter);
61 }; 61 };
62 62
63 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_BROWSER TEST_UTIL_H_ 63 #endif // CHROME_BROWSER_RENDERER_CONTEXT_MENU_RENDER_VIEW_CONTEXT_MENU_BROWSER TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698