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

Unified Diff: chrome/browser/ui/views/location_bar/web_intents_button_view.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/views/location_bar/web_intents_button_view.h
diff --git a/chrome/browser/ui/views/location_bar/web_intents_button_view.h b/chrome/browser/ui/views/location_bar/web_intents_button_view.h
deleted file mode 100644
index 4cf3043d02d36c67961c3dd653610a9e465ab56f..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/location_bar/web_intents_button_view.h
+++ /dev/null
@@ -1,34 +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_VIEWS_LOCATION_BAR_WEB_INTENTS_BUTTON_VIEW_H_
-#define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_WEB_INTENTS_BUTTON_VIEW_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "base/string16.h"
-#include "chrome/browser/ui/views/location_bar/location_bar_decoration_view.h"
-
-// Display the use-another-service button for web intents service pages
-// displayed in a tab.
-class WebIntentsButtonView : public LocationBarDecorationView {
- public:
- // |parent| and |background_images| passed to superclass. They are a weak ptr
- // to owning class and the background images for the button background.
- WebIntentsButtonView(LocationBarView* parent,
- const int background_images[],
- const gfx::Font& font,
- SkColor font_color);
- virtual ~WebIntentsButtonView() {}
-
- virtual void Update(content::WebContents* web_contents) OVERRIDE;
-
- protected:
- virtual void OnClick(LocationBarView* parent) OVERRIDE;
- virtual int GetTextAnimationSize(double state, int text_size) OVERRIDE;
-
- private:
- DISALLOW_IMPLICIT_CONSTRUCTORS(WebIntentsButtonView);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_WEB_INTENTS_BUTTON_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698