Created basic architecture for PersonasDocHandler.

Change-Id: Ic1454344756c48090ebe821799d10dd6ace0264c
select_persona_dialog.ui changed to include search.

The entered text is searched on Mozilla's test server and the result is parsed.

Change-Id: I2be660b0f7f60d2bdb2c54cbc958084b87ad1e05
Created std::vector to store learnmore URLs.

For now, we have to parse the HTML and display the images as the
result XML does not contain the header and footer URLs.

Change-Id: Ie95a75e218bc3da12802c971ea744fb38951e574
Changed license and added #ifdef.

Change-Id: If1b0d447eba7c7afdc28aa4246556d14e2fcc98e
Moved definition of SelectPersonaDialog to personalization.hxx

Change-Id: Ic6ffcfb394e36d4d9ce9825b26095fe2a0f34fdd
Added SearchAndParseThread.

The search results data is retrieved and parsed in a separate
thread so that the UI doesn't hang awkwardly.

Change-Id: I51437edd4cfbd45f5fb7e487ad2baf5dba6618a4
The search result images are shown in the dialog.

1. Changed the UI to include a 3x3 grid of images
2. The preview images are downloaded in the thread
3. The images are downloaded in their respective folders
4. A progress label is shown

Change-Id: Id87e72343d28e03b37e0c422e5ebfe1a9a37c1b5
Added setOptimalLayoutSize() to resize the dialog after images load.

Change-Id: If85d4baacbffb6b7e6bf8feceb9c58697ee158d8
Changed images to buttons so they are clickable.

Changed some variable names too.

Change-Id: I166d996389c84d00782cba42169c991f8f0f923e
Acquire the solar mutex, otherwise we cannot access vcl in the thread.

Change-Id: I02fdbbfd4c9516597df395163e28f1d616aa390d
Little code cleanup.

Changed a little bit of documentation and some variable names.

Change-Id: I292bf63b41c2b7d0a5ee7f03eb8ca49bf42b64ee
The selected theme is now applied to the suite.

1. Added IMPL_LINKs for the result buttons.
2. Created a vector to store the temporary persona settings in the
   format: name;headerURL;footerURL;textColor;accentColor.
3. When a button is clicked, the corresponding setting is copied to
   m_aPersonaSetting.
4. The persona setting is parsed in CopyPersonaToGallery and the
   header and footer images are downloaded.

Change-Id: Ib83016ad5bdfa83963843146ef6a4674fcd73868
Changed the Persona application process a bit.

The header and footer files of the selected theme are downloaded and
saved in the Theme's own folder and applied.

Change-Id: Ie974c9bedc01a20c70cb342196fb60550cb39a0f
The theme is download and applied in a separate thread.

Changed the SearchAndPersonaThread to include an instance of
SvxPersonalizationTabPage along with an instance of
SelectPersonaDialog. The constructor sets one of the instance and
the other one as null. In the execute() method, whichever instance
is null, the other one's process is done in the thread.

Change-Id: Iabfbdba63ce532ab794d3697977b6fab3fdaa832
Fixed Bug: Progress label was not shown after another search.

If another search was performed with the same instance of the dialog,
then the progress label was not visible. It is visible now.

Change-Id: Ic9526248d4f79585f59f24197aac832a0bcaaeb9
Fixed Bug: Multiple searches result in correct theme to be applied.

The vector that stores the persona settings is cleared every time a
new search is performed. This results in the correct theme being
selected for downloading and applying.

Change-Id: I8c0413a117c5a7ed660cd785c292c2fad4abd486
Fixed Bug: Small buttons are not visible initially.

Small ugly buttons were visible before searching. Their default
visibility is set to false.

Change-Id: I54baf50e4ffd7749391fbc0a48a07d7a1ffd5433
Moved the application of persona process to SelectPersonaDialog.

The theme is downloaded now when the user clicks OK on
SelectPersonaDialog instead of SvxPersonalizationTabPage. The task
is done in a separate thread.

Change-Id: I93173cce2ae9030ee8e271bd53b40e713c560731
Added error message to the progess label if something goes wrong.

Change-Id: If9e7a76bea49fa681e3fc7b3586b04fbbcbe279d
Added check for no results.

The XML root node contains total_results attribute. If there are no
results matching the search term, then the user is notified of it.

Change-Id: I4b2ae5efe4af700dbc7a554a22a558f94c56e3bc