OLD | NEW |
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/chromeos/extensions/file_manager/file_browser_private_a
pi.h" | 5 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_private_a
pi.h" |
6 | 6 |
7 #include <sys/stat.h> | 7 #include <sys/stat.h> |
8 #include <sys/statvfs.h> | 8 #include <sys/statvfs.h> |
9 #include <sys/types.h> | 9 #include <sys/types.h> |
10 #include <utime.h> | 10 #include <utime.h> |
11 | 11 |
12 #include <map> | 12 #include <map> |
13 | 13 |
14 #include "base/bind.h" | 14 #include "base/bind.h" |
15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
16 #include "base/format_macros.h" | 16 #include "base/format_macros.h" |
17 #include "base/logging.h" | 17 #include "base/logging.h" |
18 #include "base/memory/scoped_vector.h" | 18 #include "base/memory/scoped_vector.h" |
19 #include "base/posix/eintr_wrapper.h" | 19 #include "base/posix/eintr_wrapper.h" |
20 #include "base/strings/string_number_conversions.h" | 20 #include "base/strings/string_number_conversions.h" |
21 #include "base/strings/stringprintf.h" | 21 #include "base/strings/stringprintf.h" |
22 #include "base/threading/sequenced_worker_pool.h" | 22 #include "base/threading/sequenced_worker_pool.h" |
23 #include "base/time.h" | 23 #include "base/time/time.h" |
24 #include "base/values.h" | 24 #include "base/values.h" |
25 #include "chrome/browser/chromeos/drive/drive.pb.h" | 25 #include "chrome/browser/chromeos/drive/drive.pb.h" |
26 #include "chrome/browser/chromeos/drive/drive_app_registry.h" | 26 #include "chrome/browser/chromeos/drive/drive_app_registry.h" |
27 #include "chrome/browser/chromeos/drive/drive_integration_service.h" | 27 #include "chrome/browser/chromeos/drive/drive_integration_service.h" |
28 #include "chrome/browser/chromeos/drive/file_system_interface.h" | 28 #include "chrome/browser/chromeos/drive/file_system_interface.h" |
29 #include "chrome/browser/chromeos/drive/file_system_util.h" | 29 #include "chrome/browser/chromeos/drive/file_system_util.h" |
30 #include "chrome/browser/chromeos/drive/job_list.h" | 30 #include "chrome/browser/chromeos/drive/job_list.h" |
31 #include "chrome/browser/chromeos/drive/logging.h" | 31 #include "chrome/browser/chromeos/drive/logging.h" |
32 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_handler.h
" | 32 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_handler.h
" |
33 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_private_a
pi_factory.h" | 33 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_private_a
pi_factory.h" |
(...skipping 3072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3106 zoom_type = content::PAGE_ZOOM_OUT; | 3106 zoom_type = content::PAGE_ZOOM_OUT; |
3107 } else if (operation == "reset") { | 3107 } else if (operation == "reset") { |
3108 zoom_type = content::PAGE_ZOOM_RESET; | 3108 zoom_type = content::PAGE_ZOOM_RESET; |
3109 } else { | 3109 } else { |
3110 NOTREACHED(); | 3110 NOTREACHED(); |
3111 return false; | 3111 return false; |
3112 } | 3112 } |
3113 view_host->Zoom(zoom_type); | 3113 view_host->Zoom(zoom_type); |
3114 return true; | 3114 return true; |
3115 } | 3115 } |
OLD | NEW |