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

Side by Side Diff: chrome/browser/chooser_controller/chooser_controller.h

Issue 2746313002: Remove RenderFrameHost pointer from ChooserController. (Closed)
Patch Set: Fix Android build and juncai@ comment. Created 3 years, 9 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/chooser_controller/chooser_controller.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_CHOOSER_CONTROLLER_CHOOSER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_CHOOSER_CONTROLLER_CHOOSER_CONTROLLER_H_
6 #define CHROME_BROWSER_CHOOSER_CONTROLLER_CHOOSER_CONTROLLER_H_ 6 #define CHROME_BROWSER_CHOOSER_CONTROLLER_CHOOSER_CONTROLLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual void OpenHelpCenterUrl() const = 0; 124 virtual void OpenHelpCenterUrl() const = 0;
125 125
126 // Provide help information when the adapter is off. 126 // Provide help information when the adapter is off.
127 virtual void OpenAdapterOffHelpUrl() const; 127 virtual void OpenAdapterOffHelpUrl() const;
128 128
129 // Only one view may be registered at a time. 129 // Only one view may be registered at a time.
130 void set_view(View* view) { view_ = view; } 130 void set_view(View* view) { view_ = view; }
131 View* view() const { return view_; } 131 View* view() const { return view_; }
132 132
133 private: 133 private:
134 content::RenderFrameHost* const owning_frame_; 134 base::string16 title_;
135 const int title_string_id_origin_;
136 const int title_string_id_extension_;
137 View* view_ = nullptr; 135 View* view_ = nullptr;
138 136
139 DISALLOW_COPY_AND_ASSIGN(ChooserController); 137 DISALLOW_COPY_AND_ASSIGN(ChooserController);
140 }; 138 };
141 139
142 #endif // CHROME_BROWSER_CHOOSER_CONTROLLER_CHOOSER_CONTROLLER_H_ 140 #endif // CHROME_BROWSER_CHOOSER_CONTROLLER_CHOOSER_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chooser_controller/chooser_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698