summaryrefslogtreecommitdiffstats
path: root/chrome_frame/ready_mode/internal/url_launcher.h
blob: cf9551227102ff1c1f4eb6f89adbb654c1339afe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2010 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_FRAME_READY_MODE_INTERNAL_URL_LAUNCHER_H_
#define CHROME_FRAME_READY_MODE_INTERNAL_URL_LAUNCHER_H_

// Implements the launching of a new browser window/tab. The
// ReadyPromptContent invokes this, in response to user action, to display
// documentation about Ready Mode.
class UrlLauncher {
 public:
  virtual ~UrlLauncher() {}

  // Displays the specified URL in a new window or tab.
  virtual void LaunchUrl(const std::wstring& url) = 0;
};  // class UrlHelper

#endif  // CHROME_FRAME_READY_MODE_INTERNAL_URL_LAUNCHER_H_