// Copyright (c) 2012 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_WEBUI_INSTANT_UI_H_ #define CHROME_BROWSER_UI_WEBUI_INSTANT_UI_H_ #pragma once #include "content/public/browser/web_ui_controller.h" // Provides configuration options for instant web search. class InstantUI : public content::WebUIController { public: // Constructs an instance using |web_ui| for its data sources and message // handlers. explicit InstantUI(content::WebUI* web_ui); // Returns a scale factor to slow down instant animations. static int GetSlowAnimationScaleFactor(); private: DISALLOW_COPY_AND_ASSIGN(InstantUI); }; #endif // CHROME_BROWSER_UI_WEBUI_INSTANT_UI_H_