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

Unified Diff: views/bubble/bubble_delegate.h

Issue 8368006: Support Windows native textfield, combobox, etc. in new bubbles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup changes, remove example test code. Created 9 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
« no previous file with comments | « no previous file | views/bubble/bubble_delegate.cc » ('j') | views/bubble/bubble_delegate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/bubble/bubble_delegate.h
diff --git a/views/bubble/bubble_delegate.h b/views/bubble/bubble_delegate.h
index 8bd0322ae00b52ce2c5c22a03335610dce940007..b2630707dff13c35d3c5d81081952d2dcca1cda2 100644
--- a/views/bubble/bubble_delegate.h
+++ b/views/bubble/bubble_delegate.h
@@ -39,7 +39,6 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView,
// WidgetDelegate overrides:
virtual View* GetInitiallyFocusedView() OVERRIDE;
virtual View* GetContentsView() OVERRIDE;
- virtual ClientView* CreateClientView(Widget* widget) OVERRIDE;
virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
bool close_on_esc() const { return close_on_esc_; }
@@ -54,6 +53,9 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView,
// Get the color used for the background and border.
virtual SkColor GetColor() const;
+ // Show the bubble's widget (and |border_widget_| on Windows).
+ void Show();
+
// Fade the bubble in or out via Widget transparency.
// Fade in calls Widget::Show; fade out calls Widget::Close upon completion.
void StartFade(bool fade_in);
@@ -90,6 +92,11 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView,
// The background color of the bubble.
SkColor color_;
+
+ // The widget hosting the border for this bubble (only used on Windows).
+ Widget* border_widget_;
+
+ DISALLOW_COPY_AND_ASSIGN(BubbleDelegateView);
};
} // namespace views
« no previous file with comments | « no previous file | views/bubble/bubble_delegate.cc » ('j') | views/bubble/bubble_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698