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

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

Issue 329009: CompactNavigationBar for toolkit views build, with some design change per Cole's request. (Closed)
Patch Set: updates per review Created 11 years, 2 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_VIEWS_LOCATION_BAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 // AutocompleteEditController 119 // AutocompleteEditController
120 virtual void OnAutocompleteAccept(const GURL& url, 120 virtual void OnAutocompleteAccept(const GURL& url,
121 WindowOpenDisposition disposition, 121 WindowOpenDisposition disposition,
122 PageTransition::Type transition, 122 PageTransition::Type transition,
123 const GURL& alternate_nav_url); 123 const GURL& alternate_nav_url);
124 virtual void OnChanged(); 124 virtual void OnChanged();
125 virtual void OnInputInProgress(bool in_progress) { 125 virtual void OnInputInProgress(bool in_progress) {
126 delegate_->OnInputInProgress(in_progress); 126 delegate_->OnInputInProgress(in_progress);
127 } 127 }
128 virtual void OnKillFocus();
128 virtual void OnSetFocus(); 129 virtual void OnSetFocus();
129 virtual SkBitmap GetFavIcon() const; 130 virtual SkBitmap GetFavIcon() const;
130 virtual std::wstring GetTitle() const; 131 virtual std::wstring GetTitle() const;
131 132
132 // Overridden from views::View: 133 // Overridden from views::View:
133 virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e); 134 virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e);
134 virtual bool GetAccessibleName(std::wstring* name); 135 virtual bool GetAccessibleName(std::wstring* name);
135 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); 136 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role);
136 virtual void SetAccessibleName(const std::wstring& name); 137 virtual void SetAccessibleName(const std::wstring& name);
137 138
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 // The positioner that places the omnibox and info bubbles. 535 // The positioner that places the omnibox and info bubbles.
535 const BubblePositioner* bubble_positioner_; 536 const BubblePositioner* bubble_positioner_;
536 537
537 // Storage of string needed for accessibility. 538 // Storage of string needed for accessibility.
538 std::wstring accessible_name_; 539 std::wstring accessible_name_;
539 540
540 DISALLOW_COPY_AND_ASSIGN(LocationBarView); 541 DISALLOW_COPY_AND_ASSIGN(LocationBarView);
541 }; 542 };
542 543
543 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_ 544 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/standard_extender.cc ('k') | chrome/browser/views/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698