Chromium Code Reviews| Index: chrome/browser/ui/chrome_bubble_manager.h |
| diff --git a/chrome/browser/ui/chrome_bubble_manager.h b/chrome/browser/ui/chrome_bubble_manager.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ff79651555451624373f9cbfa22bfbf01a298795 |
| --- /dev/null |
| +++ b/chrome/browser/ui/chrome_bubble_manager.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright 2015 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_CHROME_BUBBLE_MANAGER_H_ |
| +#define CHROME_BROWSER_UI_CHROME_BUBBLE_MANAGER_H_ |
| + |
| +#include "components/bubble/bubble_manager.h" |
| +#include "content/public/browser/navigation_details.h" |
| + |
| +namespace content { |
| +class WebContents; |
| +} // content |
| + |
| +class ChromeBubbleManager : public BubbleManager { |
|
please use gerrit instead
2015/08/05 18:05:25
Can ChromeBubbleManager implement content::WebCont
hcarmona
2015/08/05 18:43:47
Is it possible to observe more than one web conten
|
| + public: |
| + ChromeBubbleManager(); |
| + ~ChromeBubbleManager() override; |
| + |
| + void ListenToWebContents(content::WebContents* web_contents); |
| + |
| + void FullscreenToggle(content::WebContents* context); |
| + void TabBlur(content::WebContents* context); |
| + void TabFocus(content::WebContents* context); |
| + void TabDetached(content::WebContents* context); |
| + void NavigationEntryCommitted(content::WebContents* context, |
| + const content::LoadCommittedDetails& details); |
| + void WebContentsDestroyed(content::WebContents* context); |
| +}; |
|
please use gerrit instead
2015/08/05 18:05:25
private:
DISALLOW_COPY_AND_ASSIGN(ChromeBubbleMa
hcarmona
2015/08/06 17:43:44
Done.
|
| + |
| +#endif // CHROME_BROWSER_UI_CHROME_BUBBLE_MANAGER_H_ |