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

Side by Side Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

Issue 8508048: Rebase PageInfoBubble on the new views bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and merge, indent a line. Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 const gfx::Font& font() const { return font_; } 190 const gfx::Font& font() const { return font_; }
191 191
192 #if defined(OS_WIN) && !defined(USE_AURA) 192 #if defined(OS_WIN) && !defined(USE_AURA)
193 // Event Handlers 193 // Event Handlers
194 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; 194 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE;
195 virtual bool OnMouseDragged(const views::MouseEvent& event) OVERRIDE; 195 virtual bool OnMouseDragged(const views::MouseEvent& event) OVERRIDE;
196 virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE; 196 virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE;
197 virtual void OnMouseCaptureLost() OVERRIDE; 197 virtual void OnMouseCaptureLost() OVERRIDE;
198 #endif 198 #endif
199 199
200 LocationIconView* location_icon_view() { return location_icon_view_; }
200 const LocationIconView* location_icon_view() const { 201 const LocationIconView* location_icon_view() const {
201 return location_icon_view_; 202 return location_icon_view_;
202 } 203 }
203 204
204 // AutocompleteEditController 205 // AutocompleteEditController
205 virtual void OnAutocompleteAccept(const GURL& url, 206 virtual void OnAutocompleteAccept(const GURL& url,
206 WindowOpenDisposition disposition, 207 WindowOpenDisposition disposition,
207 content::PageTransition transition, 208 content::PageTransition transition,
208 const GURL& alternate_nav_url) OVERRIDE; 209 const GURL& alternate_nav_url) OVERRIDE;
209 virtual void OnChanged() OVERRIDE; 210 virtual void OnChanged() OVERRIDE;
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 // While animating, the host clips the widget and draws only the bottom 423 // While animating, the host clips the widget and draws only the bottom
423 // part of it. The view needs to know the pixel offset at which we are drawing 424 // part of it. The view needs to know the pixel offset at which we are drawing
424 // the widget so that we can draw the curved edges that attach to the toolbar 425 // the widget so that we can draw the curved edges that attach to the toolbar
425 // in the right location. 426 // in the right location.
426 int animation_offset_; 427 int animation_offset_;
427 428
428 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView); 429 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView);
429 }; 430 };
430 431
431 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 432 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/page_info_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698