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

Side by Side Diff: chrome/browser/chrome_browser_main_extra_parts_x11.h

Issue 2108933003: Reorder browser list on workspace switch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved code into ChromeBrowserMainExtraPartsX11 Created 4 years, 5 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) 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 // Contains functions used by BrowserMain() that are gtk-specific. 5 // Contains functions used by BrowserMain() that are gtk-specific.
6 6
7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_X11_H_ 7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_X11_H_
8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_X11_H_ 8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_X11_H_
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "chrome/browser/chrome_browser_main_extra_parts.h" 12 #include "chrome/browser/chrome_browser_main_extra_parts.h"
13 #include "ui/display/desktop_observer.h"
13 14
14 class ChromeBrowserMainExtraPartsX11 : public ChromeBrowserMainExtraParts { 15 class ChromeBrowserMainExtraPartsX11 : public ChromeBrowserMainExtraParts,
sky 2016/07/06 20:33:05 Sorry, I should have dug a bit more. We try to avo
Tom (Use chromium acct) 2016/07/06 22:29:16 Done.
16 public display::DesktopObserver {
15 public: 17 public:
16 ChromeBrowserMainExtraPartsX11(); 18 ChromeBrowserMainExtraPartsX11();
17 ~ChromeBrowserMainExtraPartsX11() override; 19 ~ChromeBrowserMainExtraPartsX11() override;
18 20
19 private: 21 private:
20 // ChromeBrowserMainExtraParts overrides. 22 // ChromeBrowserMainExtraParts overrides.
21 void PreEarlyInitialization() override; 23 void PreEarlyInitialization() override;
22 void PostMainMessageLoopStart() override; 24 void PostMainMessageLoopStart() override;
23 void PostMainMessageLoopRun() override; 25 void PostMainMessageLoopRun() override;
24 26
27 // display::DesktopObserver overrides.
28 void OnWorkspaceChanged(const std::string& new_workspace) override;
29
25 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsX11); 30 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsX11);
26 }; 31 };
27 32
28 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_X11_H_ 33 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_X11_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_extra_parts_x11.cc » ('j') | chrome/browser/ui/browser_list.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698