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

Side by Side Diff: chrome/browser/ui/sync/browser_synced_window_delegate.h

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (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
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 #ifndef CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATE_H_
6 #define CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/sync/glue/synced_window_delegate.h" 9 #include "chrome/browser/sync/glue/synced_window_delegate.h"
10 #include "components/sessions/session_id.h" 10 #include "components/sessions/session_id.h"
11 11
12 class Browser; 12 class Browser;
13 13
14 namespace browser_sync { 14 namespace browser_sync {
15 class SyncedTabDelegate; 15 class SyncedTabDelegate;
16 } 16 }
17 17
18 // A BrowserSyncedWindowDelegate is the Browser-based implementation of 18 // A BrowserSyncedWindowDelegate is the Browser-based implementation of
19 // SyncedWindowDelegate. 19 // SyncedWindowDelegate.
20 class BrowserSyncedWindowDelegate : public browser_sync::SyncedWindowDelegate { 20 class BrowserSyncedWindowDelegate : public browser_sync::SyncedWindowDelegate {
21 public: 21 public:
22 explicit BrowserSyncedWindowDelegate(Browser* browser); 22 explicit BrowserSyncedWindowDelegate(Browser* browser);
23 virtual ~BrowserSyncedWindowDelegate(); 23 virtual ~BrowserSyncedWindowDelegate();
24 24
25 // SyncedWindowDelegate: 25 // SyncedWindowDelegate:
26 virtual bool HasWindow() const OVERRIDE; 26 virtual bool HasWindow() const override;
27 virtual SessionID::id_type GetSessionId() const OVERRIDE; 27 virtual SessionID::id_type GetSessionId() const override;
28 virtual int GetTabCount() const OVERRIDE; 28 virtual int GetTabCount() const override;
29 virtual int GetActiveIndex() const OVERRIDE; 29 virtual int GetActiveIndex() const override;
30 virtual bool IsApp() const OVERRIDE; 30 virtual bool IsApp() const override;
31 virtual bool IsTypeTabbed() const OVERRIDE; 31 virtual bool IsTypeTabbed() const override;
32 virtual bool IsTypePopup() const OVERRIDE; 32 virtual bool IsTypePopup() const override;
33 virtual bool IsTabPinned( 33 virtual bool IsTabPinned(
34 const browser_sync::SyncedTabDelegate* tab) const OVERRIDE; 34 const browser_sync::SyncedTabDelegate* tab) const override;
35 virtual browser_sync::SyncedTabDelegate* GetTabAt(int index) const OVERRIDE; 35 virtual browser_sync::SyncedTabDelegate* GetTabAt(int index) const override;
36 virtual SessionID::id_type GetTabIdAt(int index) const OVERRIDE; 36 virtual SessionID::id_type GetTabIdAt(int index) const override;
37 virtual bool IsSessionRestoreInProgress() const OVERRIDE; 37 virtual bool IsSessionRestoreInProgress() const override;
38 38
39 private: 39 private:
40 Browser* browser_; 40 Browser* browser_;
41 41
42 DISALLOW_COPY_AND_ASSIGN(BrowserSyncedWindowDelegate); 42 DISALLOW_COPY_AND_ASSIGN(BrowserSyncedWindowDelegate);
43 }; 43 };
44 44
45 #endif // CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATE_H_ 45 #endif // CHROME_BROWSER_UI_SYNC_BROWSER_SYNCED_WINDOW_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator_impl.cc ('k') | chrome/browser/ui/sync/inline_login_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698