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

Side by Side Diff: chrome/browser/ui/toolbar/browser_actions_bar_browsertest.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 "chrome/browser/ui/toolbar/browser_actions_bar_browsertest.h" 5 #include "chrome/browser/ui/toolbar/browser_actions_bar_browsertest.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/prefs/pref_service.h"
11 #include "base/run_loop.h" 10 #include "base/run_loop.h"
12 #include "chrome/browser/extensions/api/extension_action/extension_action_api.h" 11 #include "chrome/browser/extensions/api/extension_action/extension_action_api.h"
13 #include "chrome/browser/extensions/browser_action_test_util.h" 12 #include "chrome/browser/extensions/browser_action_test_util.h"
14 #include "chrome/browser/extensions/extension_action.h" 13 #include "chrome/browser/extensions/extension_action.h"
15 #include "chrome/browser/extensions/extension_action_manager.h" 14 #include "chrome/browser/extensions/extension_action_manager.h"
16 #include "chrome/browser/extensions/extension_action_test_util.h" 15 #include "chrome/browser/extensions/extension_action_test_util.h"
17 #include "chrome/browser/extensions/extension_browsertest.h" 16 #include "chrome/browser/extensions/extension_browsertest.h"
18 #include "chrome/browser/extensions/extension_service.h" 17 #include "chrome/browser/extensions/extension_service.h"
19 #include "chrome/browser/sessions/session_tab_helper.h" 18 #include "chrome/browser/sessions/session_tab_helper.h"
20 #include "chrome/browser/ui/extensions/extension_action_view_controller.h" 19 #include "chrome/browser/ui/extensions/extension_action_view_controller.h"
21 #include "chrome/browser/ui/tabs/tab_strip_model.h" 20 #include "chrome/browser/ui/tabs/tab_strip_model.h"
22 #include "chrome/browser/ui/toolbar/toolbar_action_view_controller.h" 21 #include "chrome/browser/ui/toolbar/toolbar_action_view_controller.h"
23 #include "chrome/browser/ui/toolbar/toolbar_actions_bar.h" 22 #include "chrome/browser/ui/toolbar/toolbar_actions_bar.h"
24 #include "chrome/browser/ui/toolbar/toolbar_actions_model.h" 23 #include "chrome/browser/ui/toolbar/toolbar_actions_model.h"
25 #include "chrome/common/pref_names.h" 24 #include "chrome/common/pref_names.h"
26 #include "components/crx_file/id_util.h" 25 #include "components/crx_file/id_util.h"
26 #include "components/prefs/pref_service.h"
27 #include "content/public/browser/notification_service.h" 27 #include "content/public/browser/notification_service.h"
28 #include "content/public/test/test_utils.h" 28 #include "content/public/test/test_utils.h"
29 #include "extensions/browser/extension_prefs.h" 29 #include "extensions/browser/extension_prefs.h"
30 #include "extensions/browser/extension_registry.h" 30 #include "extensions/browser/extension_registry.h"
31 #include "extensions/browser/notification_types.h" 31 #include "extensions/browser/notification_types.h"
32 #include "extensions/common/extension.h" 32 #include "extensions/common/extension.h"
33 #include "extensions/common/extension_builder.h" 33 #include "extensions/common/extension_builder.h"
34 #include "extensions/common/value_builder.h" 34 #include "extensions/common/value_builder.h"
35 #include "extensions/test/extension_test_message_listener.h" 35 #include "extensions/test/extension_test_message_listener.h"
36 36
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 InstallExtensionFromWebstore(path, 1); 520 InstallExtensionFromWebstore(path, 1);
521 profile()->GetPrefs()->ClearPref( 521 profile()->GetPrefs()->ClearPref(
522 prefs::kToolbarIconSurfacingBubbleAcknowledged); 522 prefs::kToolbarIconSurfacingBubbleAcknowledged);
523 } 523 }
524 524
525 IN_PROC_BROWSER_TEST_F(BrowserActionsBarRedesignBrowserTest, 525 IN_PROC_BROWSER_TEST_F(BrowserActionsBarRedesignBrowserTest,
526 HighlightsForExtensionIconSurfacingBubble) { 526 HighlightsForExtensionIconSurfacingBubble) {
527 // The toolbar should be highlighting for the bubble. 527 // The toolbar should be highlighting for the bubble.
528 EXPECT_TRUE(browser_actions_bar()->IsHighlightingForSurfacingBubble()); 528 EXPECT_TRUE(browser_actions_bar()->IsHighlightingForSurfacingBubble());
529 } 529 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/back_forward_menu_model.cc ('k') | chrome/browser/ui/toolbar/encoding_menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698