summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/ash/chrome_shell_content_state.h
blob: d3f3e80e4e95161020a07a377465825092ff331e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_ASH_CHROME_SHELL_CONTENT_STATE_H_
#define CHROME_BROWSER_UI_ASH_CHROME_SHELL_CONTENT_STATE_H_

#include "ash/content/shell_content_state.h"
#include "base/macros.h"

class ChromeShellContentState : public ash::ShellContentState {
 public:
  ChromeShellContentState();

 private:
  ~ChromeShellContentState() override;

  // Overridden from ash::ShellContentState:
  content::BrowserContext* GetActiveBrowserContext() override;
  content::BrowserContext* GetBrowserContextByIndex(
      ash::UserIndex index) override;
  content::BrowserContext* GetBrowserContextForWindow(
      aura::Window* window) override;
  content::BrowserContext* GetUserPresentingBrowserContextForWindow(
      aura::Window* window) override;

  DISALLOW_COPY_AND_ASSIGN(ChromeShellContentState);
};

#endif  // CHROME_BROWSER_UI_ASH_CHROME_SHELL_CONTENT_STATE_H_