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

Side by Side Diff: chrome/browser/ui/views/location_bar/star_view_browsertest.cc

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 "chrome/browser/ui/views/location_bar/star_view.h" 5 #include "chrome/browser/ui/views/location_bar/star_view.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model.h" 10 #include "chrome/browser/ui/tabs/tab_strip_model.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 star_view->OnMouseReleased(released_event); 65 star_view->OnMouseReleased(released_event);
66 EXPECT_FALSE(BookmarkBubbleView::IsShowing()); 66 EXPECT_FALSE(BookmarkBubbleView::IsShowing());
67 } 67 }
68 68
69 #if defined(OS_WIN) 69 #if defined(OS_WIN)
70 70
71 class StarViewTestNoDWM : public InProcessBrowserTest { 71 class StarViewTestNoDWM : public InProcessBrowserTest {
72 public: 72 public:
73 StarViewTestNoDWM() {} 73 StarViewTestNoDWM() {}
74 74
75 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { 75 virtual void SetUpCommandLine(CommandLine* command_line) override {
76 command_line->AppendSwitch(switches::kDisableDwmComposition); 76 command_line->AppendSwitch(switches::kDisableDwmComposition);
77 } 77 }
78 }; 78 };
79 79
80 BOOL CALLBACK EnumerateChildren(HWND hwnd, LPARAM l_param) { 80 BOOL CALLBACK EnumerateChildren(HWND hwnd, LPARAM l_param) {
81 HWND* child = reinterpret_cast<HWND*>(l_param); 81 HWND* child = reinterpret_cast<HWND*>(l_param);
82 *child = hwnd; 82 *child = hwnd;
83 // The first child window is the plugin, then its children. So stop 83 // The first child window is the plugin, then its children. So stop
84 // enumerating after the first callback. 84 // enumerating after the first callback.
85 return FALSE; 85 return FALSE;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 region_before.left == region_after.left && 155 region_before.left == region_after.left &&
156 region_before.top == region_after.top && 156 region_before.top == region_after.top &&
157 region_before.right == region_after.right && 157 region_before.right == region_after.right &&
158 region_before.bottom == region_after.bottom; 158 region_before.bottom == region_after.bottom;
159 ASSERT_FALSE(rects_equal); 159 ASSERT_FALSE(rects_equal);
160 } 160 }
161 161
162 #endif 162 #endif
163 163
164 } // namespace 164 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/star_view.h ('k') | chrome/browser/ui/views/location_bar/translate_icon_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698