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

Side by Side Diff: ui/views/test/menu_runner_test_api.h

Issue 59383003: Add the button style for combobox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky's review (6) Created 7 years 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
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_VIEWS_TEST_MENU_RUNNER_TEST_API_H_
6 #define UI_VIEWS_TEST_MENU_RUNNER_TEST_API_H_
7
8 #include "base/basictypes.h"
9
10 namespace views {
11
12 class MenuRunner;
13 class MenuRunnerHandler;
14
15 namespace test {
16
17 // A wrapper of MenuRunner to use testing methods of MenuRunner.
18 class MenuRunnerTestAPI {
19 public:
20 explicit MenuRunnerTestAPI(MenuRunner* menu_runner);
21 ~MenuRunnerTestAPI();
22
23 // Sets the menu runner handler. The ownership of |runner_handler| is taken.
24 void SetRunnerHandler(MenuRunnerHandler* runner_handler);
sky 2013/12/10 16:56:06 scoped_ptr, also name this SetMenuRunerHandler.
hajimehoshi 2013/12/11 04:07:04 Done.
25
26 private:
27 MenuRunner* menu_runner_;
28
29 DISALLOW_COPY_AND_ASSIGN(MenuRunnerTestAPI);
30 };
31
32 } // namespace test
33
34 } // namespace views
35
36 #endif // UI_VIEWS_TEST_MENU_RUNNER_TEST_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698