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

Side by Side Diff: extensions/browser/api/app_window/app_window_api.cc

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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 "extensions/browser/api/app_window/app_window_api.h" 5 #include "extensions/browser/api/app_window/app_window_api.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 11 matching lines...) Expand all
22 #include "extensions/browser/app_window/native_app_window.h" 22 #include "extensions/browser/app_window/native_app_window.h"
23 #include "extensions/browser/extensions_browser_client.h" 23 #include "extensions/browser/extensions_browser_client.h"
24 #include "extensions/common/api/app_window.h" 24 #include "extensions/common/api/app_window.h"
25 #include "extensions/common/features/simple_feature.h" 25 #include "extensions/common/features/simple_feature.h"
26 #include "extensions/common/image_util.h" 26 #include "extensions/common/image_util.h"
27 #include "extensions/common/manifest.h" 27 #include "extensions/common/manifest.h"
28 #include "extensions/common/permissions/permissions_data.h" 28 #include "extensions/common/permissions/permissions_data.h"
29 #include "extensions/common/switches.h" 29 #include "extensions/common/switches.h"
30 #include "third_party/skia/include/core/SkColor.h" 30 #include "third_party/skia/include/core/SkColor.h"
31 #include "ui/base/ui_base_types.h" 31 #include "ui/base/ui_base_types.h"
32 #include "ui/gfx/rect.h" 32 #include "ui/gfx/geometry/rect.h"
33 #include "url/gurl.h" 33 #include "url/gurl.h"
34 34
35 namespace app_window = extensions::core_api::app_window; 35 namespace app_window = extensions::core_api::app_window;
36 namespace Create = app_window::Create; 36 namespace Create = app_window::Create;
37 37
38 namespace extensions { 38 namespace extensions {
39 39
40 namespace app_window_constants { 40 namespace app_window_constants {
41 const char kInvalidWindowId[] = 41 const char kInvalidWindowId[] =
42 "The window id can not be more than 256 characters long."; 42 "The window id can not be more than 256 characters long.";
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 549
550 if (options.frame->as_frame_options->inactive_color.get()) { 550 if (options.frame->as_frame_options->inactive_color.get()) {
551 error_ = app_window_constants::kInactiveColorWithoutColor; 551 error_ = app_window_constants::kInactiveColorWithoutColor;
552 return false; 552 return false;
553 } 553 }
554 554
555 return true; 555 return true;
556 } 556 }
557 557
558 } // namespace extensions 558 } // namespace extensions
OLDNEW
« no previous file with comments | « content/test/test_render_view_host.cc ('k') | extensions/browser/api/app_window/app_window_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698