1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_FRAME_READY_MODE_INTERNAL_URL_LAUNCHER_H_ 6 #define CHROME_FRAME_READY_MODE_INTERNAL_URL_LAUNCHER_H_ 7 8 // Implements the launching of a new browser window/tab. The 9 // ReadyPromptContent invokes this, in response to user action, to display 10 // documentation about Ready Mode. 11 class UrlLauncher { 12 public: 13 virtual ~UrlLauncher() {} 14 15 // Displays the specified URL in a new window or tab. 16 virtual void LaunchUrl(const std::wstring& url) = 0; 17 }; // class UrlHelper 18 19 #endif // CHROME_FRAME_READY_MODE_INTERNAL_URL_LAUNCHER_H_ 20