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

Side by Side Diff: chrome/browser/android/feedback/screenshot_task.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/android/feedback/screenshot_task.h" 5 #include "chrome/browser/android/feedback/screenshot_task.h"
6 6
7 #include <stddef.h>
8
7 #include "base/android/scoped_java_ref.h" 9 #include "base/android/scoped_java_ref.h"
8 #include "base/bind.h" 10 #include "base/bind.h"
9 #include "base/memory/ref_counted_memory.h" 11 #include "base/memory/ref_counted_memory.h"
10 #include "base/thread_task_runner_handle.h" 12 #include "base/thread_task_runner_handle.h"
11 #include "jni/ScreenshotTask_jni.h" 13 #include "jni/ScreenshotTask_jni.h"
12 #include "third_party/skia/include/core/SkBitmap.h" 14 #include "third_party/skia/include/core/SkBitmap.h"
13 #include "ui/android/window_android.h" 15 #include "ui/android/window_android.h"
14 #include "ui/gfx/display.h" 16 #include "ui/gfx/display.h"
15 #include "ui/gfx/geometry/rect.h" 17 #include "ui/gfx/geometry/rect.h"
16 #include "ui/gfx/screen.h" 18 #include "ui/gfx/screen.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 window_bounds, 57 window_bounds,
56 base::ThreadTaskRunnerHandle::Get(), 58 base::ThreadTaskRunnerHandle::Get(),
57 base::Bind(&SnapshotCallback, 59 base::Bind(&SnapshotCallback,
58 env, 60 env,
59 base::Owned(new ScopedJavaGlobalRef<jobject>(env, 61 base::Owned(new ScopedJavaGlobalRef<jobject>(env,
60 jcallback)))); 62 jcallback))));
61 } 63 }
62 64
63 } // namespace android 65 } // namespace android
64 } // namespace chrome 66 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/android/favicon_helper.cc ('k') | chrome/browser/android/find_in_page/find_in_page_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698