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

Side by Side Diff: chrome/browser/infobars/infobar_service.h

Issue 2225343002: Navigation: move RestoreType and ReloadType into a separate file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [rebase] Created 4 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_INFOBARS_INFOBAR_SERVICE_H_ 5 #ifndef CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_
6 #define CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_ 6 #define CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "components/infobars/core/infobar_manager.h" 12 #include "components/infobars/core/infobar_manager.h"
13 #include "content/public/browser/reload_type.h"
13 #include "content/public/browser/web_contents_observer.h" 14 #include "content/public/browser/web_contents_observer.h"
14 #include "content/public/browser/web_contents_user_data.h" 15 #include "content/public/browser/web_contents_user_data.h"
15 #include "ui/base/window_open_disposition.h" 16 #include "ui/base/window_open_disposition.h"
16 17
17 namespace content { 18 namespace content {
18 struct LoadCommittedDetails; 19 struct LoadCommittedDetails;
19 class WebContents; 20 class WebContents;
20 } 21 }
21 22
22 namespace infobars { 23 namespace infobars {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 int GetActiveEntryID() override; 65 int GetActiveEntryID() override;
65 // TODO(droger): Remove these functions once infobar notifications are 66 // TODO(droger): Remove these functions once infobar notifications are
66 // removed. See http://crbug.com/354380 67 // removed. See http://crbug.com/354380
67 void NotifyInfoBarAdded(infobars::InfoBar* infobar) override; 68 void NotifyInfoBarAdded(infobars::InfoBar* infobar) override;
68 void NotifyInfoBarRemoved(infobars::InfoBar* infobar, bool animate) override; 69 void NotifyInfoBarRemoved(infobars::InfoBar* infobar, bool animate) override;
69 70
70 // content::WebContentsObserver: 71 // content::WebContentsObserver:
71 void RenderProcessGone(base::TerminationStatus status) override; 72 void RenderProcessGone(base::TerminationStatus status) override;
72 void DidStartNavigationToPendingEntry( 73 void DidStartNavigationToPendingEntry(
73 const GURL& url, 74 const GURL& url,
74 content::NavigationController::ReloadType reload_type) override; 75 content::ReloadType reload_type) override;
75 void NavigationEntryCommitted( 76 void NavigationEntryCommitted(
76 const content::LoadCommittedDetails& load_details) override; 77 const content::LoadCommittedDetails& load_details) override;
77 void WebContentsDestroyed() override; 78 void WebContentsDestroyed() override;
78 79
79 // See description in set_ignore_next_reload(). 80 // See description in set_ignore_next_reload().
80 bool ignore_next_reload_; 81 bool ignore_next_reload_;
81 82
82 DISALLOW_COPY_AND_ASSIGN(InfoBarService); 83 DISALLOW_COPY_AND_ASSIGN(InfoBarService);
83 }; 84 };
84 85
85 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_ 86 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_ui_bindings.cc ('k') | chrome/browser/infobars/infobar_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698