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

Unified Diff: components/bubble/bubble_manager_mocks.h

Issue 1572743002: Make sure bubbles in Views default to close before their RenderFrameHosts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Move DCHECK string into longer comment Created 4 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
« no previous file with comments | « components/bubble/bubble_manager.cc ('k') | components/bubble/bubble_manager_mocks.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bubble/bubble_manager_mocks.h
diff --git a/components/bubble/bubble_manager_mocks.h b/components/bubble/bubble_manager_mocks.h
index d181b4fd38a0aa0d9ef5497c402fd3f88c1e0b4d..f35032510522f8458757560533d9b41bbffa3308 100644
--- a/components/bubble/bubble_manager_mocks.h
+++ b/components/bubble/bubble_manager_mocks.h
@@ -58,6 +58,8 @@ class MockBubbleDelegate : public BubbleDelegate {
// Will be null after |BubbleManager::ShowBubble| is called.
MockBubbleUi* bubble_ui() { return bubble_ui_.get(); }
+ MOCK_CONST_METHOD0(OwningFrame, const content::RenderFrameHost*());
+
private:
scoped_ptr<MockBubbleUi> bubble_ui_;
« no previous file with comments | « components/bubble/bubble_manager.cc ('k') | components/bubble/bubble_manager_mocks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698