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

Unified Diff: chrome_frame/infobar_content.h

Issue 4766003: Preview CL for adding an Infobar facility to Google Chrome Frame.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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/infobar_content.h
===================================================================
--- chrome_frame/infobar_content.h (revision 0)
+++ chrome_frame/infobar_content.h (revision 0)
@@ -0,0 +1,23 @@
+// Copyright (c) 2010 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_INFOBAR_CONTENT_H_
+
+class InfobarContent {
+ public:
+ class ContentFrame {
+ public:
+ virtual ~ContentFrame() {}
+ virtual HWND GetFrameWindow() = 0;
+ virtual void CloseInfobar() = 0;
+ };
+
+ virtual HRESULT InstallInFrame(ContentFrame* frame) = 0;
+ virtual void Reset() = 0;
+ virtual void OnShow() = 0;
+ virtual void OnHide() = 0;
+ virtual void SetDimensions(const RECT& dimensions) = 0;
+};
+
+#endif // CHROME_FRAME_INFOBAR_CONTENT_H_

Powered by Google App Engine
This is Rietveld 408576698