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

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

Issue 1407093007: Autofill: Add legal message footer to save credit card bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 1 month 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 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/session_crashed_bubble.h" 9 #include "chrome/browser/ui/session_crashed_bubble.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" 10 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 bool ShouldShowCloseButton() const override; 64 bool ShouldShowCloseButton() const override;
65 void OnWidgetDestroying(views::Widget* widget) override; 65 void OnWidgetDestroying(views::Widget* widget) override;
66 66
67 // views::BubbleDelegateView methods. 67 // views::BubbleDelegateView methods.
68 void Init() override; 68 void Init() override;
69 69
70 // views::ButtonListener methods. 70 // views::ButtonListener methods.
71 void ButtonPressed(views::Button* sender, const ui::Event& event) override; 71 void ButtonPressed(views::Button* sender, const ui::Event& event) override;
72 72
73 // views::StyledLabelListener methods. 73 // views::StyledLabelListener methods.
74 void StyledLabelLinkClicked(const gfx::Range& range, 74 void StyledLabelLinkClicked(views::StyledLabel* label,
75 const gfx::Range& range,
75 int event_flags) override; 76 int event_flags) override;
76 77
77 // content::WebContentsObserver methods. 78 // content::WebContentsObserver methods.
78 void DidStartNavigationToPendingEntry( 79 void DidStartNavigationToPendingEntry(
79 const GURL& url, 80 const GURL& url,
80 content::NavigationController::ReloadType reload_type) override; 81 content::NavigationController::ReloadType reload_type) override;
81 void DidFinishLoad(content::RenderFrameHost* render_frame_host, 82 void DidFinishLoad(content::RenderFrameHost* render_frame_host,
82 const GURL& validated_url) override; 83 const GURL& validated_url) override;
83 void WasShown() override; 84 void WasShown() override;
84 void WasHidden() override; 85 void WasHidden() override;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 bool started_navigation_; 125 bool started_navigation_;
125 126
126 // Whether or not the user chose to restore previous session. It is used to 127 // Whether or not the user chose to restore previous session. It is used to
127 // collect bubble usage stats. 128 // collect bubble usage stats.
128 bool restored_; 129 bool restored_;
129 130
130 DISALLOW_COPY_AND_ASSIGN(SessionCrashedBubbleView); 131 DISALLOW_COPY_AND_ASSIGN(SessionCrashedBubbleView);
131 }; 132 };
132 133
133 #endif // CHROME_BROWSER_UI_VIEWS_SESSION_CRASHED_BUBBLE_VIEW_H_ 134 #endif // CHROME_BROWSER_UI_VIEWS_SESSION_CRASHED_BUBBLE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698