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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

Issue 6622002: Do all OOLing in the views code. linux_views now builds clean with the clang plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index 686c6f7aaf7e3695634c53809fabc4330ecb8f56..8bec4154325adab354794a0f68dd27d11f27972d 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -1148,6 +1148,22 @@ void LocationBarView::Revert() {
location_entry_->RevertAll();
}
+const AutocompleteEditView* LocationBarView::location_entry() const {
+ return location_entry_.get();
+}
+
+AutocompleteEditView* LocationBarView::location_entry() {
+ return location_entry_.get();
+}
+
+LocationBarTesting* LocationBarView::GetLocationBarForTesting() {
+ return this;
+}
+
+int LocationBarView::PageActionCount() {
+ return page_action_views_.size();
+}
+
int LocationBarView::PageActionVisibleCount() {
int result = 0;
for (size_t i = 0; i < page_action_views_.size(); i++) {

Powered by Google App Engine
This is Rietveld 408576698