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

Side by Side Diff: chrome/browser/ui/cocoa/location_bar/button_decoration.mm

Issue 233623002: Shows the info bubble when the location bar icon is clicked in the origin chip. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Comment tweaks. Created 6 years, 8 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 #include <cmath> 5 #include <cmath>
6 6
7 #import "chrome/browser/ui/cocoa/location_bar/button_decoration.h" 7 #import "chrome/browser/ui/cocoa/location_bar/button_decoration.h"
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #import "base/mac/scoped_nsobject.h" 10 #import "base/mac/scoped_nsobject.h"
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 } 162 }
163 163
164 bool ButtonDecoration::AcceptsMousePress() { 164 bool ButtonDecoration::AcceptsMousePress() {
165 return true; 165 return true;
166 } 166 }
167 167
168 bool ButtonDecoration::IsDraggable() { 168 bool ButtonDecoration::IsDraggable() {
169 return false; 169 return false;
170 } 170 }
171 171
172 bool ButtonDecoration::OnMousePressed(NSRect frame) { 172 bool ButtonDecoration::OnMousePressed(NSRect frame, NSPoint location) {
173 return false; 173 return false;
174 } 174 }
175 175
176 ButtonDecoration* ButtonDecoration::AsButtonDecoration() { 176 ButtonDecoration* ButtonDecoration::AsButtonDecoration() {
177 return this; 177 return this;
178 } 178 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698