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

Side by Side Diff: ash/wm/toplevel_window_event_handler_unittest.cc

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (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
« no previous file with comments | « ash/wm/toplevel_window_event_handler.cc ('k') | ash/wm/video_detector.h » ('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) 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 "ash/wm/toplevel_window_event_handler.h" 5 #include "ash/wm/toplevel_window_event_handler.h"
6 6
7 #include "ash/root_window_controller.h" 7 #include "ash/root_window_controller.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "ash/shell_window_ids.h" 9 #include "ash/shell_window_ids.h"
10 #include "ash/test/ash_test_base.h" 10 #include "ash/test/ash_test_base.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // requested and applies a minimum size constraint if there is one. 45 // requested and applies a minimum size constraint if there is one.
46 class TestWindowDelegate : public aura::test::TestWindowDelegate { 46 class TestWindowDelegate : public aura::test::TestWindowDelegate {
47 public: 47 public:
48 explicit TestWindowDelegate(int hittest_code) { 48 explicit TestWindowDelegate(int hittest_code) {
49 set_window_component(hittest_code); 49 set_window_component(hittest_code);
50 } 50 }
51 virtual ~TestWindowDelegate() {} 51 virtual ~TestWindowDelegate() {}
52 52
53 private: 53 private:
54 // Overridden from aura::Test::TestWindowDelegate: 54 // Overridden from aura::Test::TestWindowDelegate:
55 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE { 55 virtual void OnWindowDestroyed(aura::Window* window) override {
56 delete this; 56 delete this;
57 } 57 }
58 58
59 DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate); 59 DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate);
60 }; 60 };
61 61
62 class ToplevelWindowEventHandlerTest : public AshTestBase { 62 class ToplevelWindowEventHandlerTest : public AshTestBase {
63 public: 63 public:
64 ToplevelWindowEventHandlerTest() {} 64 ToplevelWindowEventHandlerTest() {}
65 virtual ~ToplevelWindowEventHandlerTest() {} 65 virtual ~ToplevelWindowEventHandlerTest() {}
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 EXPECT_EQ(aura::client::MOVE_SUCCESSFUL, 734 EXPECT_EQ(aura::client::MOVE_SUCCESSFUL,
735 move_client->RunMoveLoop(window.get(), gfx::Vector2d(), 735 move_client->RunMoveLoop(window.get(), gfx::Vector2d(),
736 aura::client::WINDOW_MOVE_SOURCE_MOUSE)); 736 aura::client::WINDOW_MOVE_SOURCE_MOUSE));
737 } 737 }
738 738
739 // Showing the resize shadows when the mouse is over the window edges is tested 739 // Showing the resize shadows when the mouse is over the window edges is tested
740 // in resize_shadow_and_cursor_test.cc 740 // in resize_shadow_and_cursor_test.cc
741 741
742 } // namespace test 742 } // namespace test
743 } // namespace ash 743 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/toplevel_window_event_handler.cc ('k') | ash/wm/video_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698