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

Side by Side Diff: chrome/browser/ui/views/session_crashed_bubble_view.h

Issue 373623002: Convert remaining WebContentsObservers loading callbacks to use RFH. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix one more compile error Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_VIEWS_SESSION_CRASHED_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_SESSION_CRASHED_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_SESSION_CRASHED_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_SESSION_CRASHED_BUBBLE_VIEW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" 9 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
10 #include "content/public/browser/notification_observer.h" 10 #include "content/public/browser/notification_observer.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 const ui::Event& event) OVERRIDE; 71 const ui::Event& event) OVERRIDE;
72 72
73 // views::StyledLabelListener methods. 73 // views::StyledLabelListener methods.
74 virtual void StyledLabelLinkClicked(const gfx::Range& range, 74 virtual void StyledLabelLinkClicked(const gfx::Range& range,
75 int event_flags) OVERRIDE; 75 int event_flags) OVERRIDE;
76 76
77 // content::WebContentsObserver methods. 77 // content::WebContentsObserver methods.
78 virtual void DidStartNavigationToPendingEntry( 78 virtual void DidStartNavigationToPendingEntry(
79 const GURL& url, 79 const GURL& url,
80 content::NavigationController::ReloadType reload_type) OVERRIDE; 80 content::NavigationController::ReloadType reload_type) OVERRIDE;
81 virtual void DidFinishLoad( 81 virtual void DidFinishLoad(content::RenderFrameHost* render_frame_host,
82 int64 frame_id, 82 const GURL& validated_url) OVERRIDE;
83 const GURL& validated_url,
84 bool is_main_frame,
85 content::RenderViewHost* render_view_host) OVERRIDE;
86 virtual void WasShown() OVERRIDE; 83 virtual void WasShown() OVERRIDE;
87 virtual void WasHidden() OVERRIDE; 84 virtual void WasHidden() OVERRIDE;
88 85
89 // content::NotificationObserver methods. 86 // content::NotificationObserver methods.
90 virtual void Observe( 87 virtual void Observe(
91 int type, 88 int type,
92 const content::NotificationSource& source, 89 const content::NotificationSource& source,
93 const content::NotificationDetails& details) OVERRIDE; 90 const content::NotificationDetails& details) OVERRIDE;
94 91
95 // TabStripModelObserver methods. 92 // TabStripModelObserver methods.
(...skipping 30 matching lines...) Expand all
126 // Whether or not the UMA opt-in option should be shown. 123 // Whether or not the UMA opt-in option should be shown.
127 bool offer_uma_optin_; 124 bool offer_uma_optin_;
128 125
129 // Whether or not a navigation has started on current tab. 126 // Whether or not a navigation has started on current tab.
130 bool started_navigation_; 127 bool started_navigation_;
131 128
132 DISALLOW_COPY_AND_ASSIGN(SessionCrashedBubbleView); 129 DISALLOW_COPY_AND_ASSIGN(SessionCrashedBubbleView);
133 }; 130 };
134 131
135 #endif // CHROME_BROWSER_UI_VIEWS_SESSION_CRASHED_BUBBLE_VIEW_H_ 132 #endif // CHROME_BROWSER_UI_VIEWS_SESSION_CRASHED_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/search_tab_helper.cc ('k') | chrome/browser/ui/views/session_crashed_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698