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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 2247563002: Change status bubble rendering at hidpi and when there is no client edge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments and nits Created 4 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) 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_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 bool IsIncognito() const; 195 bool IsIncognito() const;
196 196
197 // Returns true if the profile associated with this Browser window is 197 // Returns true if the profile associated with this Browser window is
198 // a guest session. 198 // a guest session.
199 bool IsGuestSession() const; 199 bool IsGuestSession() const;
200 200
201 // Returns true if the profile associated with this Browser window is 201 // Returns true if the profile associated with this Browser window is
202 // not incognito or a guest session. 202 // not incognito or a guest session.
203 bool IsRegularOrGuestSession() const; 203 bool IsRegularOrGuestSession() const;
204 204
205 // Returns whether or not a client edge (the border around the web content)
206 // should be laid out and drawn.
207 bool HasClientEdge() const;
208
205 // Provides the containing frame with the accelerator for the specified 209 // Provides the containing frame with the accelerator for the specified
206 // command id. This can be used to provide menu item shortcut hints etc. 210 // command id. This can be used to provide menu item shortcut hints etc.
207 // Returns true if an accelerator was found for the specified |cmd_id|, false 211 // Returns true if an accelerator was found for the specified |cmd_id|, false
208 // otherwise. 212 // otherwise.
209 bool GetAccelerator(int cmd_id, ui::Accelerator* accelerator) const; 213 bool GetAccelerator(int cmd_id, ui::Accelerator* accelerator) const;
210 214
211 // Returns true if the specificed |accelerator| is registered with this view. 215 // Returns true if the specificed |accelerator| is registered with this view.
212 bool IsAcceleratorRegistered(const ui::Accelerator& accelerator); 216 bool IsAcceleratorRegistered(const ui::Accelerator& accelerator);
213 217
214 // Returns the active WebContents. Used by our NonClientView's 218 // Returns the active WebContents. Used by our NonClientView's
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 // The class that registers for keyboard shortcuts for extension commands. 703 // The class that registers for keyboard shortcuts for extension commands.
700 std::unique_ptr<ExtensionKeybindingRegistryViews> 704 std::unique_ptr<ExtensionKeybindingRegistryViews>
701 extension_keybinding_registry_; 705 extension_keybinding_registry_;
702 706
703 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 707 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
704 708
705 DISALLOW_COPY_AND_ASSIGN(BrowserView); 709 DISALLOW_COPY_AND_ASSIGN(BrowserView);
706 }; 710 };
707 711
708 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 712 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_view.cc » ('j') | chrome/browser/ui/views/status_bubble_views.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698