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

Side by Side Diff: chrome/browser/ui/views/ime/ime_window_view.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "chrome/browser/ui/ime/ime_native_window.h" 12 #include "chrome/browser/ui/ime/ime_native_window.h"
13 #include "chrome/browser/ui/ime/ime_window.h" 13 #include "chrome/browser/ui/ime/ime_window.h"
14 #include "content/public/browser/notification_observer.h" 14 #include "content/public/browser/notification_observer.h"
15 #include "content/public/browser/notification_registrar.h" 15 #include "content/public/browser/notification_registrar.h"
16 #include "content/public/browser/web_contents_observer.h" 16 #include "content/public/browser/web_contents_observer.h"
17 #include "extensions/browser/extension_icon_image.h" 17 #include "extensions/browser/extension_icon_image.h"
18 #include "ui/gfx/geometry/rect.h" 18 #include "ui/gfx/geometry/rect.h"
19 #include "ui/gfx/image/image.h" 19 #include "ui/gfx/image/image.h"
20 #include "ui/views/widget/widget_delegate.h" 20 #include "ui/views/widget/widget_delegate.h"
21 #include "ui/views/widget/widget_observer.h" 21 #include "ui/views/widget/widget_observer.h"
22 22
23 class Profile;
24
25 namespace extensions {
26 class Extension;
27 }
28
29 namespace views { 23 namespace views {
30 class WebView; 24 class WebView;
31 } 25 }
32 26
33 namespace ui { 27 namespace ui {
34 28
35 class ImeWindowFrameView; 29 class ImeWindowFrameView;
36 class ImeWindowHost;
37 30
38 // The views implementation for the IME window UI. 31 // The views implementation for the IME window UI.
39 // This interacts with ImeWindow through the ImeNativeWindow interface. 32 // This interacts with ImeWindow through the ImeNativeWindow interface.
40 class ImeWindowView : public ImeNativeWindow, 33 class ImeWindowView : public ImeNativeWindow,
41 public views::WidgetDelegateView { 34 public views::WidgetDelegateView {
42 public: 35 public:
43 enum class PointerType { MOUSE, TOUCH }; 36 enum class PointerType { MOUSE, TOUCH };
44 37
45 ImeWindowView(ImeWindow* ime_window, 38 ImeWindowView(ImeWindow* ime_window,
46 const gfx::Rect& bounds, 39 const gfx::Rect& bounds,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 92
100 // The web view control which hosts the web contents. 93 // The web view control which hosts the web contents.
101 views::WebView* web_view_; 94 views::WebView* web_view_;
102 95
103 DISALLOW_COPY_AND_ASSIGN(ImeWindowView); 96 DISALLOW_COPY_AND_ASSIGN(ImeWindowView);
104 }; 97 };
105 98
106 } // namespace ui 99 } // namespace ui
107 100
108 #endif // CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_VIEW_H_ 101 #endif // CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/ime/ime_window_frame_view.h ('k') | chrome/browser/ui/views/infobars/infobar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698