OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |