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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view_unittest.cc

Issue 71743002: [Toolbar Views] Move toolbar files to a new subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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/frame/browser_view.h" 5 #include "chrome/browser/ui/views/frame/browser_view.h"
6 6
7 #include "chrome/app/chrome_command_ids.h" 7 #include "chrome/app/chrome_command_ids.h"
8 #include "chrome/browser/ui/browser_commands.h" 8 #include "chrome/browser/ui/browser_commands.h"
9 #include "chrome/browser/ui/views/bookmarks/bookmark_bar_view.h" 9 #include "chrome/browser/ui/views/bookmarks/bookmark_bar_view.h"
10 #include "chrome/browser/ui/views/frame/browser_view_layout.h" 10 #include "chrome/browser/ui/views/frame/browser_view_layout.h"
11 #include "chrome/browser/ui/views/frame/test_with_browser_view.h" 11 #include "chrome/browser/ui/views/frame/test_with_browser_view.h"
12 #include "chrome/browser/ui/views/frame/top_container_view.h" 12 #include "chrome/browser/ui/views/frame/top_container_view.h"
13 #include "chrome/browser/ui/views/infobars/infobar_container_view.h" 13 #include "chrome/browser/ui/views/infobars/infobar_container_view.h"
14 #include "chrome/browser/ui/views/tabs/tab_strip.h" 14 #include "chrome/browser/ui/views/tabs/tab_strip.h"
15 #include "chrome/browser/ui/views/toolbar_view.h" 15 #include "chrome/browser/ui/views/toolbar/toolbar_view.h"
16 #include "chrome/common/url_constants.h" 16 #include "chrome/common/url_constants.h"
17 #include "grit/theme_resources.h" 17 #include "grit/theme_resources.h"
18 #include "ui/views/controls/single_split_view.h" 18 #include "ui/views/controls/single_split_view.h"
19 #include "ui/views/controls/webview/webview.h" 19 #include "ui/views/controls/webview/webview.h"
20 20
21 #if defined(OS_WIN) 21 #if defined(OS_WIN)
22 #include "chrome/browser/ui/views/frame/browser_frame_win.h" 22 #include "chrome/browser/ui/views/frame/browser_frame_win.h"
23 #endif 23 #endif
24 24
25 namespace { 25 namespace {
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 // Test initial state. 240 // Test initial state.
241 EXPECT_TRUE(browser_view()->IsTabStripVisible()); 241 EXPECT_TRUE(browser_view()->IsTabStripVisible());
242 // Validate whether the window switcher button is the target for the position 242 // Validate whether the window switcher button is the target for the position
243 // passed in. 243 // passed in.
244 gfx::Point switcher_point(browser_view()->window_switcher_button()->x() + 2, 244 gfx::Point switcher_point(browser_view()->window_switcher_button()->x() + 2,
245 browser_view()->window_switcher_button()->y()); 245 browser_view()->window_switcher_button()->y());
246 EXPECT_EQ(browser_view()->GetEventHandlerForPoint(switcher_point), 246 EXPECT_EQ(browser_view()->GetEventHandlerForPoint(switcher_point),
247 browser_view()->window_switcher_button()); 247 browser_view()->window_switcher_button());
248 } 248 }
249 #endif 249 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698