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

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

Issue 3210007: Add support for a "split" incognito behavior for extensions. (Closed)
Patch Set: latest Created 10 years, 3 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_LOCATION_BAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 6 #define CHROME_BROWSER_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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 // Overridden from TemplateURLModelObserver 225 // Overridden from TemplateURLModelObserver
226 virtual void OnTemplateURLModelChanged(); 226 virtual void OnTemplateURLModelChanged();
227 227
228 // Thickness of the left and right edges of the omnibox, in normal mode. 228 // Thickness of the left and right edges of the omnibox, in normal mode.
229 static const int kNormalHorizontalEdgeThickness; 229 static const int kNormalHorizontalEdgeThickness;
230 // Thickness of the top and bottom edges of the omnibox. 230 // Thickness of the top and bottom edges of the omnibox.
231 static const int kVerticalEdgeThickness; 231 static const int kVerticalEdgeThickness;
232 // Space between items in the location bar. 232 // Space between items in the location bar.
233 static const int kItemPadding; 233 static const int kItemPadding;
234 // Space between items in the location bar when an extension keyword is
235 // showing.
236 static const int kExtensionItemPadding;
234 // Space between the edges and the items next to them. 237 // Space between the edges and the items next to them.
235 static const int kEdgeItemPadding; 238 static const int kEdgeItemPadding;
236 // Space between the edge and a bubble. 239 // Space between the edge and a bubble.
237 static const int kBubblePadding; 240 static const int kBubblePadding;
238 241
239 protected: 242 protected:
240 void Focus(); 243 void Focus();
241 244
242 private: 245 private:
243 typedef std::vector<ContentSettingImageView*> ContentSettingViews; 246 typedef std::vector<ContentSettingImageView*> ContentSettingViews;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 TemplateURLModel* template_url_model_; 368 TemplateURLModel* template_url_model_;
366 369
367 #if defined(OS_LINUX) 370 #if defined(OS_LINUX)
368 scoped_ptr<AccessibleWidgetHelper> accessible_widget_helper_; 371 scoped_ptr<AccessibleWidgetHelper> accessible_widget_helper_;
369 #endif 372 #endif
370 373
371 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView); 374 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView);
372 }; 375 };
373 376
374 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 377 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/location_bar/icon_label_bubble_view.cc ('k') | chrome/browser/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698