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

Side by Side Diff: chrome/browser/ui/ash/chrome_shell_content_state.h

Issue 2615663002: Fix MediaClient::RequestCaptureState(). (Closed)
Patch Set: rebase Created 3 years, 11 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/mus/bridge/wm_shell_mus.cc ('k') | chrome/browser/ui/ash/chrome_shell_content_state.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_ASH_CHROME_SHELL_CONTENT_STATE_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_SHELL_CONTENT_STATE_H_
6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_CONTENT_STATE_H_ 6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_CONTENT_STATE_H_
7 7
8 #include "ash/content/shell_content_state.h" 8 #include "ash/content/shell_content_state.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 10
11 class ChromeShellContentState : public ash::ShellContentState { 11 class ChromeShellContentState : public ash::ShellContentState {
12 public: 12 public:
13 ChromeShellContentState(); 13 ChromeShellContentState();
14 ~ChromeShellContentState() override;
14 15
15 private: 16 static ChromeShellContentState* GetInstance();
16 ~ChromeShellContentState() override;
17 17
18 // Overridden from ash::ShellContentState: 18 // Overridden from ash::ShellContentState:
19 content::BrowserContext* GetActiveBrowserContext() override; 19 content::BrowserContext* GetActiveBrowserContext() override;
20 content::BrowserContext* GetBrowserContextByIndex( 20 content::BrowserContext* GetBrowserContextByIndex(
21 ash::UserIndex index) override; 21 ash::UserIndex index) override;
22 content::BrowserContext* GetBrowserContextForWindow( 22 content::BrowserContext* GetBrowserContextForWindow(
23 aura::Window* window) override; 23 aura::Window* window) override;
24 content::BrowserContext* GetUserPresentingBrowserContextForWindow( 24 content::BrowserContext* GetUserPresentingBrowserContextForWindow(
25 aura::Window* window) override; 25 aura::Window* window) override;
26 26
27 private:
27 DISALLOW_COPY_AND_ASSIGN(ChromeShellContentState); 28 DISALLOW_COPY_AND_ASSIGN(ChromeShellContentState);
28 }; 29 };
29 30
30 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_CONTENT_STATE_H_ 31 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_CONTENT_STATE_H_
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.cc ('k') | chrome/browser/ui/ash/chrome_shell_content_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698