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

Side by Side Diff: chrome/browser/ui/zoom/zoom_controller_unittest.cc

Issue 674273002: Cleanup: Remove unneeded chrome/common/pref_names.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 1 month 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 "base/message_loop/message_loop.h" 5 #include "base/message_loop/message_loop.h"
6 #include "base/prefs/pref_service.h" 6 #include "base/prefs/pref_service.h"
7 #include "chrome/browser/ui/browser.h" 7 #include "chrome/browser/ui/browser.h"
8 #include "chrome/browser/ui/browser_finder.h" 8 #include "chrome/browser/ui/browser_finder.h"
9 #include "chrome/browser/ui/zoom/zoom_controller.h" 9 #include "chrome/browser/ui/zoom/zoom_controller.h"
10 #include "chrome/browser/ui/zoom/zoom_observer.h" 10 #include "chrome/browser/ui/zoom/zoom_observer.h"
11 #include "chrome/common/pref_names.h"
12 #include "chrome/test/base/chrome_render_view_host_test_harness.h" 11 #include "chrome/test/base/chrome_render_view_host_test_harness.h"
13 #include "chrome/test/base/testing_profile.h" 12 #include "chrome/test/base/testing_profile.h"
14 #include "content/public/browser/host_zoom_map.h" 13 #include "content/public/browser/host_zoom_map.h"
15 #include "content/public/browser/navigation_details.h" 14 #include "content/public/browser/navigation_details.h"
16 #include "content/public/common/frame_navigate_params.h" 15 #include "content/public/common/frame_navigate_params.h"
17 #include "content/public/test/test_renderer_host.h" 16 #include "content/public/test/test_renderer_host.h"
18 #include "content/public/test/test_utils.h" 17 #include "content/public/test/test_utils.h"
19 #include "testing/gmock/include/gmock/gmock.h" 18 #include "testing/gmock/include/gmock/gmock.h"
20 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
21 20
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 ZoomController::ZoomChangedEventData zoom_change_data2( 108 ZoomController::ZoomChangedEventData zoom_change_data2(
110 web_contents(), 109 web_contents(),
111 old_zoom_level, 110 old_zoom_level,
112 new_zoom_level, 111 new_zoom_level,
113 ZoomController::ZOOM_MODE_ISOLATED, 112 ZoomController::ZOOM_MODE_ISOLATED,
114 true /* can_show_bubble */); 113 true /* can_show_bubble */);
115 EXPECT_CALL(zoom_observer_, OnZoomChanged(zoom_change_data2)).Times(1); 114 EXPECT_CALL(zoom_observer_, OnZoomChanged(zoom_change_data2)).Times(1);
116 115
117 zoom_controller_->SetZoomLevel(new_zoom_level); 116 zoom_controller_->SetZoomLevel(new_zoom_level);
118 } 117 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698