forked from ks32/chromium-crosswalk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Moves model files to //ash/app_list/model/. mkdir -p ash/app_list/model tools/git/move_source_file.py \ ui/app_list/app_list_item.h \ ui/app_list/app_list_item.cc \ ui/app_list/app_list_item_observer.h \ ui/app_list/app_list_model.h \ ui/app_list/app_list_model.cc \ ui/app_list/app_list_item_list.h \ ui/app_list/app_list_item_list.cc \ ui/app_list/app_list_item_list_observer.h \ ui/app_list/app_list_view_state.h \ ui/app_list/search_result.h \ ui/app_list/search_result.cc \ ui/app_list/app_list_folder_item.h \ ui/app_list/app_list_folder_item.cc \ ui/app_list/app_list_model_observer.h \ ui/app_list/search_box_model.h \ ui/app_list/search_box_model.cc \ ui/app_list/search_result_observer.h \ ui/app_list/folder_image.h \ ui/app_list/folder_image.cc \ ui/app_list/search_box_model_observer.h \ ash/app_list/model/ mkdir -p ash/app_list/model/search tools/git/move_source_file.py \ ui/app_list/search/tokenized_string.h \ ui/app_list/search/tokenized_string.cc \ ui/app_list/search/tokenized_string_match.h \ ui/app_list/search/tokenized_string_match.cc \ ui/app_list/search/term_break_iterator.h \ ui/app_list/search/term_break_iterator.cc \ ui/app_list/search/tokenized_string_char_iterator.h \ ui/app_list/search/tokenized_string_char_iterator.cc \ ash/app_list/model/search/ grep -rl 'APP_LIST_EXPORT' ash/app_list/model/ | xargs sed -i 's/APP_LIST_EXPORT/APP_LIST_MODEL_EXPORT/g' grep -rl 'ui/app_list/app_list_export.h' ash/app_list/model/ | xargs sed -i 's/ui\/app_list\/app_list_export.h/ash\/app_list\/model\/app_list_model_export.h/g' - Creates build files for //ash/app_list/model/: - //ash/app_list/model/BUILD.gn - //ash/app_list/model/app_list_model_export.h - Moves source files from //ui/app_list/BUILD.gn to //ash/app_list/model/BUILD.gn - Adds dependency //ui/app_list:app_list -> //ash/app_list/model:app_list_model - Adds dependency to //ash/app_list/model in the following DEPS files: - //chrome/browser/extensions - //chrome/browser/sync - //chrome/browser/ui/app_list - //ui/app_list - Includes app_list_export.h in the following files: - //ui/app_list/views/search_result_view.h - //ui/app_list/views/search_result_container_view.h - Adds new app_list paths into WATCHLISTS - Formats changes: git cl format Bug: 733662 Change-Id: Ibd816a5a15d441301ea67119626fd1750b1f9efa Reviewed-on: https://chromium-review.googlesource.com/777019 Commit-Queue: Jiaquan He <[email protected]> Reviewed-by: James Cook <[email protected]> Reviewed-by: Scott Violet <[email protected]> Reviewed-by: Xiyuan Xia <[email protected]> Cr-Commit-Position: refs/heads/master@{#517972}
- Loading branch information
Showing
132 changed files
with
438 additions
and
361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Copyright 2017 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
component("app_list_model") { | ||
sources = [ | ||
"app_list_folder_item.cc", | ||
"app_list_folder_item.h", | ||
"app_list_item.cc", | ||
"app_list_item.h", | ||
"app_list_item_list.cc", | ||
"app_list_item_list.h", | ||
"app_list_item_list_observer.h", | ||
"app_list_item_observer.h", | ||
"app_list_model.cc", | ||
"app_list_model.h", | ||
"app_list_model_observer.h", | ||
"app_list_view_state.h", | ||
"folder_image.cc", | ||
"folder_image.h", | ||
"search/term_break_iterator.cc", | ||
"search/term_break_iterator.h", | ||
"search/tokenized_string.cc", | ||
"search/tokenized_string.h", | ||
"search/tokenized_string_char_iterator.cc", | ||
"search/tokenized_string_char_iterator.h", | ||
"search/tokenized_string_match.cc", | ||
"search/tokenized_string_match.h", | ||
"search_box_model.cc", | ||
"search_box_model.h", | ||
"search_box_model_observer.h", | ||
"search_result.cc", | ||
"search_result.h", | ||
"search_result_observer.h", | ||
] | ||
|
||
defines = [ "APP_LIST_MODEL_IMPLEMENTATION" ] | ||
|
||
deps = [ | ||
"//base:i18n", | ||
"//cc/paint", | ||
"//components/sync", | ||
"//skia", | ||
"//third_party/icu", | ||
"//ui/base", | ||
"//ui/gfx", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include_rules = [ | ||
"+components/sync", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# App List Model | ||
|
||
Design doc: go/move-applist | ||
|
||
## Introduction | ||
|
||
This directory holds all app list model classes. | ||
|
||
Currently the app list is running in the Chrome process but in the future it'll | ||
be moved into Ash. Everything in //ui/app_list is being refactored and migrated | ||
to //ash/app_list. | ||
|
||
During the migration we'll have build dependencies changed. The following paths | ||
will depend on this since they're referring to the app list model: | ||
|
||
- //chrome/browser/extensions | ||
- //chrome/browser/sync | ||
- //chrome/browser/ui/app_list | ||
- //ui/app_list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.