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

Unified Diff: chrome_frame/turndown_prompt/turndown_prompt_content.h

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 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_frame/turndown_prompt/turndown_prompt_content.h
diff --git a/chrome_frame/turndown_prompt/turndown_prompt_content.h b/chrome_frame/turndown_prompt/turndown_prompt_content.h
deleted file mode 100644
index 1771652c01863dfa9d6658ff2a0ae068d129200a..0000000000000000000000000000000000000000
--- a/chrome_frame/turndown_prompt/turndown_prompt_content.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2013 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_FRAME_TURNDOWN_PROMPT_TURNDOWN_PROMPT_CONTENT_H_
-#define CHROME_FRAME_TURNDOWN_PROMPT_TURNDOWN_PROMPT_CONTENT_H_
-
-#include "base/basictypes.h"
-#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/memory/weak_ptr.h"
-#include "chrome_frame/infobars/infobar_content.h"
-
-class TurndownPromptWindow;
-class UrlLauncher;
-
-// Encapsulates the turndown prompt inviting users to learn about the turndown
-// of Chrome Frame.
-class TurndownPromptContent : public InfobarContent {
- public:
- // Takes ownership of the UrlLauncher instance, which will be freed upon
- // destruction of the TurndownPromptContent.
- TurndownPromptContent(UrlLauncher* url_launcher,
- const base::Closure& uninstall_closure);
- virtual ~TurndownPromptContent();
-
- // InfobarContent implementation
- virtual bool InstallInFrame(Frame* frame);
- virtual void SetDimensions(const RECT& dimensions);
- virtual size_t GetDesiredSize(size_t width, size_t height);
-
- private:
- base::WeakPtr<TurndownPromptWindow> window_;
- scoped_ptr<UrlLauncher> url_launcher_;
- base::Closure uninstall_closure_;
-
- DISALLOW_COPY_AND_ASSIGN(TurndownPromptContent);
-}; // class TurndownPromptContent
-
-#endif // CHROME_FRAME_TURNDOWN_PROMPT_TURNDOWN_PROMPT_CONTENT_H_
« no previous file with comments | « chrome_frame/turndown_prompt/turndown_prompt.cc ('k') | chrome_frame/turndown_prompt/turndown_prompt_content.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698