OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_AURA_H_ |
| 6 #define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_AURA_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "ui/views_content_client/views_content_client_main_parts.h" |
| 11 |
| 12 namespace wm { |
| 13 class WMState; |
| 14 class WMTestHelper; |
| 15 } |
| 16 |
| 17 namespace ui { |
| 18 |
| 19 class ViewsContentClientMainPartsAura : public ViewsContentClientMainParts { |
| 20 public: |
| 21 ViewsContentClientMainPartsAura( |
| 22 const content::MainFunctionParams& content_params, |
| 23 ViewsContentClient* views_content_client); |
| 24 virtual ~ViewsContentClientMainPartsAura(); |
| 25 |
| 26 // content::BrowserMainParts: |
| 27 virtual void ToolkitInitialized() OVERRIDE; |
| 28 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; |
| 29 virtual void PostMainMessageLoopRun() OVERRIDE; |
| 30 |
| 31 private: |
| 32 scoped_ptr<wm::WMState> wm_state_; |
| 33 |
| 34 DISALLOW_COPY_AND_ASSIGN(ViewsContentClientMainPartsAura); |
| 35 }; |
| 36 |
| 37 } // namespace ui |
| 38 |
| 39 #endif // UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_AURA_H_ |
OLD | NEW |