summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/frame/native_browser_frame_delegate.h
blob: cacd34abd59f3f814fb4ad48a1814c889409aa91 (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
// Copyright (c) 2011 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_VIEWS_FRAME_NATIVE_BROWSER_FRAME_DELEGATE_H_
#define CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_DELEGATE_H_
#pragma once

namespace views {
class NonClientFrameView;
class RootView;
}

class NativeBrowserFrameDelegate {
 public:
  virtual ~NativeBrowserFrameDelegate() {}

  // TODO(beng): Remove these once BrowserFrame is-a Window is-a Widget, at
  //             which point BrowserFrame can just override Widget's method.
  virtual views::RootView* DelegateCreateRootView() = 0;
  virtual views::NonClientFrameView* DelegateCreateFrameViewForWindow() = 0;
};

#endif  // CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_DELEGATE_H_