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

Side by Side Diff: chrome/browser/ui/views/permission_bubble/permission_prompt_impl.cc

Issue 2902873002: Views/Harmony Remove references to ui/views/layout/layout_constants.h (Closed)
Patch Set: Fix patch failures. Created 3 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "chrome/browser/ui/views/permission_bubble/permission_prompt_impl.h" 5 #include "chrome/browser/ui/views/permission_bubble/permission_prompt_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
(...skipping 24 matching lines...) Expand all
35 #include "ui/views/bubble/bubble_frame_view.h" 35 #include "ui/views/bubble/bubble_frame_view.h"
36 #include "ui/views/controls/button/checkbox.h" 36 #include "ui/views/controls/button/checkbox.h"
37 #include "ui/views/controls/button/menu_button.h" 37 #include "ui/views/controls/button/menu_button.h"
38 #include "ui/views/controls/button/menu_button_listener.h" 38 #include "ui/views/controls/button/menu_button_listener.h"
39 #include "ui/views/controls/combobox/combobox.h" 39 #include "ui/views/controls/combobox/combobox.h"
40 #include "ui/views/controls/combobox/combobox_listener.h" 40 #include "ui/views/controls/combobox/combobox_listener.h"
41 #include "ui/views/controls/label.h" 41 #include "ui/views/controls/label.h"
42 #include "ui/views/controls/menu/menu_runner.h" 42 #include "ui/views/controls/menu/menu_runner.h"
43 #include "ui/views/layout/box_layout.h" 43 #include "ui/views/layout/box_layout.h"
44 #include "ui/views/layout/grid_layout.h" 44 #include "ui/views/layout/grid_layout.h"
45 #include "ui/views/layout/layout_constants.h"
46 45
47 namespace { 46 namespace {
48 47
49 // (Square) pixel size of icon. 48 // (Square) pixel size of icon.
50 const int kIconSize = 18; 49 const int kIconSize = 18;
51 50
52 } // namespace 51 } // namespace
53 52
54 // This class is a MenuButton which is given a PermissionMenuModel. It 53 // This class is a MenuButton which is given a PermissionMenuModel. It
55 // shows the current checked item in the menu model, and notifies its listener 54 // shows the current checked item in the menu model, and notifies its listener
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 } 487 }
489 488
490 void PermissionPromptImpl::Deny() { 489 void PermissionPromptImpl::Deny() {
491 if (delegate_) 490 if (delegate_)
492 delegate_->Deny(); 491 delegate_->Deny();
493 } 492 }
494 493
495 Profile* PermissionPromptImpl::GetProfile() { 494 Profile* PermissionPromptImpl::GetProfile() {
496 return browser_->profile(); 495 return browser_->profile();
497 } 496 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/zoom_bubble_view.cc ('k') | chrome/browser/ui/views/profiles/profile_chooser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698