Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(530)

Unified Diff: chrome/browser/ui/app_list/test/test_app_list_controller_delegate.cc

Issue 644863002: Introduce OpenURL to AppListControllerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/app_list/test/test_app_list_controller_delegate.cc
diff --git a/chrome/browser/ui/app_list/test/test_app_list_controller_delegate.cc b/chrome/browser/ui/app_list/test/test_app_list_controller_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..80a4a8faf16c42f46479eebd9e475329c8484ecf
--- /dev/null
+++ b/chrome/browser/ui/app_list/test/test_app_list_controller_delegate.cc
@@ -0,0 +1,94 @@
+// Copyright 2014 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.
+
+#include "chrome/browser/ui/app_list/test/test_app_list_controller_delegate.h"
+
+#include "ui/gfx/image/image_skia.h"
+
+namespace test {
+
+TestAppListControllerDelegate::TestAppListControllerDelegate() {
+}
+
+TestAppListControllerDelegate::~TestAppListControllerDelegate() {
+}
+
+void TestAppListControllerDelegate::DismissView() {
+}
+
+gfx::NativeWindow TestAppListControllerDelegate::GetAppListWindow() {
+ return NULL;
+}
+
+gfx::ImageSkia TestAppListControllerDelegate::GetWindowIcon() {
+ return gfx::ImageSkia();
+}
+
+bool TestAppListControllerDelegate::IsAppPinned(
+ const std::string& extension_id) {
+ return false;
+}
+
+void TestAppListControllerDelegate::PinApp(const std::string& extension_id) {
+}
+
+void TestAppListControllerDelegate::UnpinApp(const std::string& extension_id) {
+}
+
+AppListControllerDelegate::Pinnable
+TestAppListControllerDelegate::GetPinnable() {
+ return NO_PIN;
+}
+
+bool TestAppListControllerDelegate::CanDoCreateShortcutsFlow() {
+ return false;
+}
+
+void TestAppListControllerDelegate::DoCreateShortcutsFlow(
+ Profile* profile,
+ const std::string& extension_id) {
+}
+
+bool TestAppListControllerDelegate::CanDoShowAppInfoFlow() {
+ return false;
+}
+
+void TestAppListControllerDelegate::DoShowAppInfoFlow(
+ Profile* profile,
+ const std::string& extension_id) {
+}
+
+void TestAppListControllerDelegate::CreateNewWindow(Profile* profile,
+ bool incognito) {
+}
+
+void TestAppListControllerDelegate::OpenURL(Profile* profile,
+ const GURL& url,
+ ui::PageTransition transition,
+ WindowOpenDisposition deposition) {
+}
+
+void TestAppListControllerDelegate::ActivateApp(
+ Profile* profile,
+ const extensions::Extension* extension,
+ AppListSource source,
+ int event_flags) {
+}
+
+void TestAppListControllerDelegate::LaunchApp(
+ Profile* profile,
+ const extensions::Extension* extension,
+ AppListSource source,
+ int event_flags) {
+}
+
+void TestAppListControllerDelegate::ShowForProfileByPath(
+ const base::FilePath& profile_path) {
+}
+
+bool TestAppListControllerDelegate::ShouldShowUserIcon() {
+ return false;
+}
+
+} // namespace test

Powered by Google App Engine
This is Rietveld 408576698