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

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

Issue 2000403003: [forbots] IWYU for ax_enums.h Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "chrome/browser/ui/views/frame/browser_view.h" 5 #include "chrome/browser/ui/views/frame/browser_view.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <memory> 10 #include <memory>
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 #include "content/app/resources/grit/content_resources.h" 122 #include "content/app/resources/grit/content_resources.h"
123 #include "content/public/browser/download_manager.h" 123 #include "content/public/browser/download_manager.h"
124 #include "content/public/browser/notification_service.h" 124 #include "content/public/browser/notification_service.h"
125 #include "content/public/browser/render_frame_host.h" 125 #include "content/public/browser/render_frame_host.h"
126 #include "content/public/browser/render_view_host.h" 126 #include "content/public/browser/render_view_host.h"
127 #include "content/public/browser/render_widget_host_view.h" 127 #include "content/public/browser/render_widget_host_view.h"
128 #include "content/public/browser/user_metrics.h" 128 #include "content/public/browser/user_metrics.h"
129 #include "content/public/browser/web_contents.h" 129 #include "content/public/browser/web_contents.h"
130 #include "content/public/common/content_switches.h" 130 #include "content/public/common/content_switches.h"
131 #include "grit/theme_resources.h" 131 #include "grit/theme_resources.h"
132 #include "ui/accessibility/ax_enums.h"
132 #include "ui/accessibility/ax_view_state.h" 133 #include "ui/accessibility/ax_view_state.h"
133 #include "ui/base/accelerators/accelerator.h" 134 #include "ui/base/accelerators/accelerator.h"
134 #include "ui/base/hit_test.h" 135 #include "ui/base/hit_test.h"
135 #include "ui/base/l10n/l10n_util.h" 136 #include "ui/base/l10n/l10n_util.h"
136 #include "ui/base/material_design/material_design_controller.h" 137 #include "ui/base/material_design/material_design_controller.h"
137 #include "ui/base/resource/resource_bundle.h" 138 #include "ui/base/resource/resource_bundle.h"
138 #include "ui/base/theme_provider.h" 139 #include "ui/base/theme_provider.h"
139 #include "ui/content_accelerators/accelerator_util.h" 140 #include "ui/content_accelerators/accelerator_util.h"
140 #include "ui/display/screen.h" 141 #include "ui/display/screen.h"
141 #include "ui/events/event_utils.h" 142 #include "ui/events/event_utils.h"
(...skipping 2485 matching lines...) Expand 10 before | Expand all | Expand 10 after
2627 } 2628 }
2628 2629
2629 extensions::ActiveTabPermissionGranter* 2630 extensions::ActiveTabPermissionGranter*
2630 BrowserView::GetActiveTabPermissionGranter() { 2631 BrowserView::GetActiveTabPermissionGranter() {
2631 content::WebContents* web_contents = GetActiveWebContents(); 2632 content::WebContents* web_contents = GetActiveWebContents();
2632 if (!web_contents) 2633 if (!web_contents)
2633 return nullptr; 2634 return nullptr;
2634 return extensions::TabHelper::FromWebContents(web_contents) 2635 return extensions::TabHelper::FromWebContents(web_contents)
2635 ->active_tab_permission_granter(); 2636 ->active_tab_permission_granter();
2636 } 2637 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698