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

Side by Side Diff: chrome/browser/chromeos/legacy_window_manager/initial_browser_window_observer.h

Issue 8586039: chromeos: Add "virtual" to d'tor to appease clang. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « no previous file | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CHROMEOS_LEGACY_WINDOW_MANAGER_INITIAL_BROWSER_WINDOW_OBS ERVER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LEGACY_WINDOW_MANAGER_INITIAL_BROWSER_WINDOW_OBS ERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_LEGACY_WINDOW_MANAGER_INITIAL_BROWSER_WINDOW_OBS ERVER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LEGACY_WINDOW_MANAGER_INITIAL_BROWSER_WINDOW_OBS ERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 11 matching lines...) Expand all
22 // when it sees the first Chrome browser window get mapped post-login. Tests 22 // when it sees the first Chrome browser window get mapped post-login. Tests
23 // then watch for this file to determine when login is completed. There's no X 23 // then watch for this file to determine when login is completed. There's no X
24 // window manager running for Aura builds, so we make Chrome replicate this 24 // window manager running for Aura builds, so we make Chrome replicate this
25 // behavior itself. 25 // behavior itself.
26 // 26 //
27 // TODO(derat): Once Aura is fully in use in Chrome OS, remove this and make 27 // TODO(derat): Once Aura is fully in use in Chrome OS, remove this and make
28 // tests instead use pyauto to communicate with Chrome. 28 // tests instead use pyauto to communicate with Chrome.
29 class InitialBrowserWindowObserver : public content::NotificationObserver { 29 class InitialBrowserWindowObserver : public content::NotificationObserver {
30 public: 30 public:
31 InitialBrowserWindowObserver(); 31 InitialBrowserWindowObserver();
32 ~InitialBrowserWindowObserver() {} 32 virtual ~InitialBrowserWindowObserver() {}
33 33
34 // content::NotificationObserver implementation: 34 // content::NotificationObserver implementation:
35 virtual void Observe(int type, 35 virtual void Observe(int type,
36 const content::NotificationSource& source, 36 const content::NotificationSource& source,
37 const content::NotificationDetails& details) OVERRIDE; 37 const content::NotificationDetails& details) OVERRIDE;
38 38
39 private: 39 private:
40 content::NotificationRegistrar registrar_; 40 content::NotificationRegistrar registrar_;
41 41
42 DISALLOW_COPY_AND_ASSIGN(InitialBrowserWindowObserver); 42 DISALLOW_COPY_AND_ASSIGN(InitialBrowserWindowObserver);
43 }; 43 };
44 44
45 } // namespace chromeos 45 } // namespace chromeos
46 46
47 #endif // CHROME_BROWSER_CHROMEOS_LEGACY_WINDOW_MANAGER_INITIAL_BROWSER_WINDOW_ OBSERVER_H_ 47 #endif // CHROME_BROWSER_CHROMEOS_LEGACY_WINDOW_MANAGER_INITIAL_BROWSER_WINDOW_ OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698