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

Unified Diff: chrome/browser/ui/intents/web_intent_picker_delegate_mock.h

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 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/intents/web_intent_picker_delegate_mock.h
diff --git a/chrome/browser/ui/intents/web_intent_picker_delegate_mock.h b/chrome/browser/ui/intents/web_intent_picker_delegate_mock.h
deleted file mode 100644
index 2cb04a0f725e6e455356e48b50a246e0ab1604f7..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/intents/web_intent_picker_delegate_mock.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// 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_INTENTS_WEB_INTENT_PICKER_DELEGATE_MOCK_H_
-#define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_DELEGATE_MOCK_H_
-
-#include "chrome/browser/ui/intents/web_intent_picker_delegate.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-class WebIntentPickerDelegateMock : public WebIntentPickerDelegate {
- public:
- WebIntentPickerDelegateMock();
- virtual ~WebIntentPickerDelegateMock();
-
- MOCK_METHOD3(OnServiceChosen,
- void(const GURL& url,
- webkit_glue::WebIntentServiceData::Disposition disposition,
- WebIntentPickerDelegate::DefaultsUsage suppress_defaults));
- MOCK_METHOD2(CreateWebContentsForInlineDisposition,
- content::WebContents*(Profile* profile, const GURL& url));
- MOCK_METHOD1(OnExtensionInstallRequested, void(const std::string& id));
- MOCK_METHOD2(OnExtensionLinkClicked,
- void(const std::string& id,
- WindowOpenDisposition disposition));
- MOCK_METHOD1(OnSuggestionsLinkClicked,
- void(WindowOpenDisposition disposition));
- MOCK_METHOD0(OnUserCancelledPickerDialog, void());
- MOCK_METHOD0(OnChooseAnotherService, void());
- MOCK_METHOD0(OnClosing, void());
-};
-
-#endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_DELEGATE_MOCK_H_
« no previous file with comments | « chrome/browser/ui/intents/web_intent_picker_delegate.h ('k') | chrome/browser/ui/intents/web_intent_picker_delegate_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698