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

Side by Side Diff: chrome/browser/views/bookmark_bar_view_test.cc

Issue 3046031: Revert 54074 - Add initial tests for keyboard access (tabbing in some dialogs... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/keyboard_codes.h" 5 #include "base/keyboard_codes.h"
6 #include "base/string_util.h" 6 #include "base/string_util.h"
7 #include "chrome/browser/automation/ui_controls.h" 7 #include "chrome/browser/automation/ui_controls.h"
8 #include "chrome/browser/bookmarks/bookmark_model.h" 8 #include "chrome/browser/bookmarks/bookmark_model.h"
9 #include "chrome/browser/bookmarks/bookmark_utils.h" 9 #include "chrome/browser/bookmarks/bookmark_utils.h"
10 #include "chrome/browser/pref_service.h" 10 #include "chrome/browser/pref_service.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 bool maximized) {} 63 bool maximized) {}
64 virtual bool GetSavedWindowBounds(const std::wstring& window_name, 64 virtual bool GetSavedWindowBounds(const std::wstring& window_name,
65 gfx::Rect* bounds) const { 65 gfx::Rect* bounds) const {
66 return false; 66 return false;
67 } 67 }
68 virtual bool GetSavedMaximizedState(const std::wstring& window_name, 68 virtual bool GetSavedMaximizedState(const std::wstring& window_name,
69 bool* maximized) const { 69 bool* maximized) const {
70 return false; 70 return false;
71 } 71 }
72 72
73 virtual void NotifyAccessibilityEvent(
74 views::View* view, AccessibilityTypes::Event event_type) {}
75
76 #if defined(OS_WIN) 73 #if defined(OS_WIN)
77 virtual HICON GetDefaultWindowIcon() const { return 0; } 74 virtual HICON GetDefaultWindowIcon() const { return 0; }
78 #endif 75 #endif
79 76
80 virtual void AddRef() { 77 virtual void AddRef() {
81 } 78 }
82 79
83 virtual void ReleaseRef() { 80 virtual void ReleaseRef() {
84 MessageLoopForUI::current()->Quit(); 81 MessageLoopForUI::current()->Quit();
85 } 82 }
(...skipping 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1338 views::TextButton* button = bb_view_->GetBookmarkButton(0); 1335 views::TextButton* button = bb_view_->GetBookmarkButton(0);
1339 ASSERT_TRUE(button->state() == views::CustomButton::BS_PUSHED); 1336 ASSERT_TRUE(button->state() == views::CustomButton::BS_PUSHED);
1340 1337
1341 // Close the window. 1338 // Close the window.
1342 window_->Close(); 1339 window_->Close();
1343 window_ = NULL; 1340 window_ = NULL;
1344 } 1341 }
1345 }; 1342 };
1346 1343
1347 VIEW_TEST(BookmarkBarViewTest16, DeleteMenu) 1344 VIEW_TEST(BookmarkBarViewTest16, DeleteMenu)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698