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

Side by Side Diff: chrome/browser/extensions/api/tabs/tabs_api.cc

Issue 2261253003: Add chrome/browser/extensions to "GN check" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dumb typo 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 #include "chrome/browser/extensions/api/tabs/tabs_api.h" 5 #include "chrome/browser/extensions/api/tabs/tabs_api.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <algorithm> 8 #include <algorithm>
9 #include <limits> 9 #include <limits>
10 #include <memory> 10 #include <memory>
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 #include "extensions/common/permissions/permissions_data.h" 90 #include "extensions/common/permissions/permissions_data.h"
91 #include "extensions/common/user_script.h" 91 #include "extensions/common/user_script.h"
92 #include "net/base/escape.h" 92 #include "net/base/escape.h"
93 #include "skia/ext/image_operations.h" 93 #include "skia/ext/image_operations.h"
94 #include "skia/ext/platform_canvas.h" 94 #include "skia/ext/platform_canvas.h"
95 #include "third_party/skia/include/core/SkBitmap.h" 95 #include "third_party/skia/include/core/SkBitmap.h"
96 #include "ui/base/models/list_selection_model.h" 96 #include "ui/base/models/list_selection_model.h"
97 #include "ui/base/ui_base_types.h" 97 #include "ui/base/ui_base_types.h"
98 98
99 #if defined(USE_ASH) 99 #if defined(USE_ASH)
100 #include "ash/common/ash_switches.h" 100 #include "ash/common/ash_switches.h" // nogncheck
101 #include "chrome/browser/extensions/api/tabs/ash_panel_contents.h" 101 #include "chrome/browser/extensions/api/tabs/ash_panel_contents.h" // nogncheck
102 #include "extensions/browser/app_window/app_window_registry.h" 102 #include "extensions/browser/app_window/app_window_registry.h" // nogncheck
103 #endif 103 #endif
104 104
105 using content::BrowserThread; 105 using content::BrowserThread;
106 using content::NavigationController; 106 using content::NavigationController;
107 using content::NavigationEntry; 107 using content::NavigationEntry;
108 using content::OpenURLParams; 108 using content::OpenURLParams;
109 using content::Referrer; 109 using content::Referrer;
110 using content::WebContents; 110 using content::WebContents;
111 using zoom::ZoomController; 111 using zoom::ZoomController;
112 112
(...skipping 2098 matching lines...) Expand 10 before | Expand all | Expand 10 after
2211 params->tab_id 2211 params->tab_id
2212 ? ErrorUtils::FormatErrorMessage(keys::kCannotDiscardTab, 2212 ? ErrorUtils::FormatErrorMessage(keys::kCannotDiscardTab,
2213 base::IntToString(*params->tab_id)) 2213 base::IntToString(*params->tab_id))
2214 : keys::kCannotFindTabToDiscard)); 2214 : keys::kCannotFindTabToDiscard));
2215 } 2215 }
2216 2216
2217 TabsDiscardFunction::TabsDiscardFunction() {} 2217 TabsDiscardFunction::TabsDiscardFunction() {}
2218 TabsDiscardFunction::~TabsDiscardFunction() {} 2218 TabsDiscardFunction::~TabsDiscardFunction() {}
2219 2219
2220 } // namespace extensions 2220 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698