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

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

Issue 315663002: Fix omnibox focus ring regression on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/location_bar_view.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 (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 #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 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 virtual int PageActionCount() OVERRIDE; 361 virtual int PageActionCount() OVERRIDE;
362 virtual int PageActionVisibleCount() OVERRIDE; 362 virtual int PageActionVisibleCount() OVERRIDE;
363 virtual ExtensionAction* GetPageAction(size_t index) OVERRIDE; 363 virtual ExtensionAction* GetPageAction(size_t index) OVERRIDE;
364 virtual ExtensionAction* GetVisiblePageAction(size_t index) OVERRIDE; 364 virtual ExtensionAction* GetVisiblePageAction(size_t index) OVERRIDE;
365 virtual void TestPageActionPressed(size_t index) OVERRIDE; 365 virtual void TestPageActionPressed(size_t index) OVERRIDE;
366 virtual bool GetBookmarkStarVisibility() OVERRIDE; 366 virtual bool GetBookmarkStarVisibility() OVERRIDE;
367 367
368 // views::View: 368 // views::View:
369 virtual const char* GetClassName() const OVERRIDE; 369 virtual const char* GetClassName() const OVERRIDE;
370 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; 370 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE;
371 virtual void OnFocus() OVERRIDE;
371 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 372 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
372 virtual void PaintChildren(gfx::Canvas* canvas, 373 virtual void PaintChildren(gfx::Canvas* canvas,
373 const views::CullSet& cull_set) OVERRIDE; 374 const views::CullSet& cull_set) OVERRIDE;
374 375
375 // views::ButtonListener: 376 // views::ButtonListener:
376 virtual void ButtonPressed(views::Button* sender, 377 virtual void ButtonPressed(views::Button* sender,
377 const ui::Event& event) OVERRIDE; 378 const ui::Event& event) OVERRIDE;
378 379
379 // views::DragController: 380 // views::DragController:
380 virtual void WriteDragDataForView(View* sender, 381 virtual void WriteDragDataForView(View* sender,
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 // Used to register for notifications received by NotificationObserver. 522 // Used to register for notifications received by NotificationObserver.
522 content::NotificationRegistrar registrar_; 523 content::NotificationRegistrar registrar_;
523 524
524 // Used to bind callback functions to this object. 525 // Used to bind callback functions to this object.
525 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_; 526 base::WeakPtrFactory<LocationBarView> weak_ptr_factory_;
526 527
527 DISALLOW_COPY_AND_ASSIGN(LocationBarView); 528 DISALLOW_COPY_AND_ASSIGN(LocationBarView);
528 }; 529 };
529 530
530 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 531 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698