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

Side by Side Diff: chrome/browser/ui/chrome_bubble_manager.h

Issue 1292353006: Mac Changes for BubbleManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mcdb-mac-3.gitbr
Patch Set: New upstream Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/chrome_bubble_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_CHROME_BUBBLE_MANAGER_H_ 5 #ifndef CHROME_BROWSER_UI_CHROME_BUBBLE_MANAGER_H_
6 #define CHROME_BROWSER_UI_CHROME_BUBBLE_MANAGER_H_ 6 #define CHROME_BROWSER_UI_CHROME_BUBBLE_MANAGER_H_
7 7
8 #include "components/bubble/bubble_manager.h" 8 #include "components/bubble/bubble_manager.h"
9 #include "components/keyed_service/core/keyed_service.h" 9 #include "components/keyed_service/core/keyed_service.h"
10 #include "content/public/browser/navigation_details.h" 10 #include "content/public/browser/navigation_details.h"
11 11
12 namespace content { 12 namespace content {
13 class WebContents; 13 class WebContents;
14 } // content 14 } // content
15 15
16 class ChromeBubbleManager : public BubbleManager, 16 class ChromeBubbleManager : public BubbleManager,
17 public KeyedService, 17 public KeyedService,
18 public base::SupportsWeakPtr<ChromeBubbleManager> { 18 public base::SupportsWeakPtr<ChromeBubbleManager> {
19 public: 19 public:
20 ChromeBubbleManager(); 20 ChromeBubbleManager();
21 ~ChromeBubbleManager() override; 21 ~ChromeBubbleManager() override;
22 22
23 void FullscreenToggle(content::WebContents* context); 23 void FullscreenToggle(content::WebContents* context);
24 void TabBlur(content::WebContents* context); 24 void TabBlur(content::WebContents* context);
25 void TabFocus(content::WebContents* context); 25 void TabFocus(content::WebContents* context);
26 void TabDetached(content::WebContents* context); 26 void TabDetached(content::WebContents* context);
27 void NavigationEntryCommitted(content::WebContents* context, 27 void NavigationEntryCommitted(content::WebContents* context,
28 const content::LoadCommittedDetails& details); 28 const content::LoadCommittedDetails& details);
29 void WebContentsDestroyed(content::WebContents* context); 29 void WebContentsDestroyed(content::WebContents* context);
30 void UpdateAnchorPosition(content::WebContents* context);
31 void UserDismissBubbles(content::WebContents* context);
30 32
31 private: 33 private:
32 DISALLOW_COPY_AND_ASSIGN(ChromeBubbleManager); 34 DISALLOW_COPY_AND_ASSIGN(ChromeBubbleManager);
33 }; 35 };
34 36
35 #endif // CHROME_BROWSER_UI_CHROME_BUBBLE_MANAGER_H_ 37 #endif // CHROME_BROWSER_UI_CHROME_BUBBLE_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/chrome_bubble_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698