Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / views / tabs / tab_strip_unittest.cc
index afdd9dc..5cf441b 100644 (file)
@@ -46,7 +46,7 @@ class TestTabStripObserver : public TabStripObserver {
     tab_strip_->AddObserver(this);
   }
 
-  virtual ~TestTabStripObserver() {
+  ~TestTabStripObserver() override {
     if (tab_strip_)
       tab_strip_->RemoveObserver(this);
   }
@@ -59,22 +59,22 @@ class TestTabStripObserver : public TabStripObserver {
 
  private:
   // TabStripObserver overrides.
-  virtual void TabStripAddedTabAt(TabStrip* tab_strip, int index) OVERRIDE {
+  void TabStripAddedTabAt(TabStrip* tab_strip, int index) override {
     last_tab_added_ = index;
   }
 
-  virtual void TabStripMovedTab(TabStrip* tab_strip,
-                                int from_index,
-                                int to_index) OVERRIDE {
+  void TabStripMovedTab(TabStrip* tab_strip,
+                        int from_index,
+                        int to_index) override {
     last_tab_moved_from_ = from_index;
     last_tab_moved_to_ = to_index;
   }
 
-  virtual void TabStripRemovedTabAt(TabStrip* tab_strip, int index) OVERRIDE {
+  void TabStripRemovedTabAt(TabStrip* tab_strip, int index) override {
     last_tab_removed_ = index;
   }
 
-  virtual void TabStripDeleted(TabStrip* tab_strip) OVERRIDE {
+  void TabStripDeleted(TabStrip* tab_strip) override {
     tabstrip_deleted_ = true;
     tab_strip_ = NULL;
   }
@@ -96,9 +96,9 @@ class TabStripTest : public views::ViewsTestBase {
         tab_strip_(NULL) {
   }
 
-  virtual ~TabStripTest() {}
+  ~TabStripTest() override {}
 
-  virtual void SetUp() OVERRIDE {
+  void SetUp() override {
     views::ViewsTestBase::SetUp();
 
     controller_ = new FakeBaseTabStripController;
@@ -118,7 +118,7 @@ class TabStripTest : public views::ViewsTestBase {
     widget_->SetContentsView(&parent_);
   }
 
-  virtual void TearDown() OVERRIDE {
+  void TearDown() override {
     widget_.reset();
     views::ViewsTestBase::TearDown();
   }