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

Side by Side Diff: views/view_unittest.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
« no previous file with comments | « views/view_gtk.cc ('k') | views/view_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <map> 5 #include <map>
6 6
7 #include "app/clipboard/clipboard.h" 7 #include "app/clipboard/clipboard.h"
8 #include "base/keyboard_codes.h" 8 #include "base/keyboard_codes.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 bool maximized) { 679 bool maximized) {
680 } 680 }
681 virtual bool GetSavedWindowBounds(const std::wstring& window_name, 681 virtual bool GetSavedWindowBounds(const std::wstring& window_name,
682 gfx::Rect* bounds) const { 682 gfx::Rect* bounds) const {
683 return false; 683 return false;
684 } 684 }
685 virtual bool GetSavedMaximizedState(const std::wstring& window_name, 685 virtual bool GetSavedMaximizedState(const std::wstring& window_name,
686 bool* maximized) const { 686 bool* maximized) const {
687 return false; 687 return false;
688 } 688 }
689 virtual void NotifyAccessibilityEvent(
690 views::View* view, AccessibilityTypes::Event event_type) {}
691 virtual HICON GetDefaultWindowIcon() const { 689 virtual HICON GetDefaultWindowIcon() const {
692 return NULL; 690 return NULL;
693 } 691 }
694 virtual void AddRef() {} 692 virtual void AddRef() {}
695 virtual void ReleaseRef() {} 693 virtual void ReleaseRef() {}
696 694
697 private: 695 private:
698 mutable scoped_ptr<Clipboard> clipboard_; 696 mutable scoped_ptr<Clipboard> clipboard_;
699 697
700 DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate); 698 DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate);
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
1344 #endif 1342 #endif
1345 } 1343 }
1346 1344
1347 TEST_F(ViewTest, ChangeNativeViewHierarchyChangeHierarchy) { 1345 TEST_F(ViewTest, ChangeNativeViewHierarchyChangeHierarchy) {
1348 // TODO(georgey): Fix the test for Linux 1346 // TODO(georgey): Fix the test for Linux
1349 #if defined(OS_WIN) 1347 #if defined(OS_WIN)
1350 TestChangeNativeViewHierarchy test(this); 1348 TestChangeNativeViewHierarchy test(this);
1351 test.CheckChangingHierarhy(); 1349 test.CheckChangingHierarhy();
1352 #endif 1350 #endif
1353 } 1351 }
OLDNEW
« no previous file with comments | « views/view_gtk.cc ('k') | views/view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698