summaryrefslogtreecommitdiffstats
path: root/mandoline/ui/browser/browser_ui.h
blob: 96f71c08765c19d6466a7ad352651ce9c0bf373b (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
31
32
// 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 MANDOLINE_UI_BROWSER_BROWSER_UI_H_
#define MANDOLINE_UI_BROWSER_BROWSER_UI_H_

class GURL;

namespace mojo {
class ApplicationConnection;
class ApplicationImpl;
class View;
}

namespace mandoline {

class BrowserManager;

class BrowserUI {
 public:
  virtual ~BrowserUI() {}
  static BrowserUI* Create(mojo::ApplicationImpl* application_impl,
                           BrowserManager* manager);

  // Loads the specified URL in the active tab.
  virtual void LoadURL(const GURL& url) = 0;
};

}  // namespace mandoline

#endif  // MANDOLINE_UI_BROWSER_BROWSER_UI_H_