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

Side by Side Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.h

Issue 2892393002: Move WebInputMethodControllerImpl to core/exported/ & break dependencies. (Closed)
Patch Set: Rebase. Created 3 years, 6 months 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 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 26 matching lines...) Expand all
37 #include "platform/heap/SelfKeepAlive.h" 37 #include "platform/heap/SelfKeepAlive.h"
38 #include "platform/scroll/ScrollTypes.h" 38 #include "platform/scroll/ScrollTypes.h"
39 #include "platform/wtf/Assertions.h" 39 #include "platform/wtf/Assertions.h"
40 #include "platform/wtf/HashSet.h" 40 #include "platform/wtf/HashSet.h"
41 #include "public/platform/WebCoalescedInputEvent.h" 41 #include "public/platform/WebCoalescedInputEvent.h"
42 #include "public/platform/WebPoint.h" 42 #include "public/platform/WebPoint.h"
43 #include "public/platform/WebSize.h" 43 #include "public/platform/WebSize.h"
44 #include "public/web/WebInputMethodController.h" 44 #include "public/web/WebInputMethodController.h"
45 #include "web/CompositorMutatorImpl.h" 45 #include "web/CompositorMutatorImpl.h"
46 #include "web/PageWidgetDelegate.h" 46 #include "web/PageWidgetDelegate.h"
47 #include "web/WebInputMethodControllerImpl.h"
48 47
49 namespace blink { 48 namespace blink {
50 49
51 class CompositorAnimationHost; 50 class CompositorAnimationHost;
52 class Frame; 51 class Frame;
53 class Element; 52 class Element;
54 class LocalFrame; 53 class LocalFrame;
55 class PaintLayerCompositor; 54 class PaintLayerCompositor;
56 class UserGestureToken; 55 class UserGestureToken;
57 class WebLayer; 56 class WebLayer;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 void SetRemoteViewportIntersection(const WebRect&) override; 111 void SetRemoteViewportIntersection(const WebRect&) override;
113 112
114 // WebFrameWidget implementation. 113 // WebFrameWidget implementation.
115 WebLocalFrameBase* LocalRoot() const override { return local_root_; } 114 WebLocalFrameBase* LocalRoot() const override { return local_root_; }
116 void SetVisibilityState(WebPageVisibilityState) override; 115 void SetVisibilityState(WebPageVisibilityState) override;
117 void SetBackgroundColorOverride(WebColor) override; 116 void SetBackgroundColorOverride(WebColor) override;
118 void ClearBackgroundColorOverride() override; 117 void ClearBackgroundColorOverride() override;
119 void SetBaseBackgroundColorOverride(WebColor) override; 118 void SetBaseBackgroundColorOverride(WebColor) override;
120 void ClearBaseBackgroundColorOverride() override; 119 void ClearBaseBackgroundColorOverride() override;
121 void SetBaseBackgroundColor(WebColor) override; 120 void SetBaseBackgroundColor(WebColor) override;
122 WebInputMethodControllerImpl* GetActiveWebInputMethodController() 121 WebInputMethodController* GetActiveWebInputMethodController() const override;
123 const override;
124 122
125 Frame* FocusedCoreFrame() const; 123 Frame* FocusedCoreFrame() const;
126 124
127 // Returns the currently focused Element or null if no element has focus. 125 // Returns the currently focused Element or null if no element has focus.
128 Element* FocusedElement() const; 126 Element* FocusedElement() const;
129 127
130 PaintLayerCompositor* Compositor() const; 128 PaintLayerCompositor* Compositor() const;
131 129
132 // WebFrameWidgetBase overrides: 130 // WebFrameWidgetBase overrides:
133 bool ForSubframe() const override { return true; } 131 bool ForSubframe() const override { return true; }
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 237
240 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, 238 DEFINE_TYPE_CASTS(WebFrameWidgetImpl,
241 WebFrameWidgetBase, 239 WebFrameWidgetBase,
242 widget, 240 widget,
243 widget->ForSubframe(), 241 widget->ForSubframe(),
244 widget.ForSubframe()); 242 widget.ForSubframe());
245 243
246 } // namespace blink 244 } // namespace blink
247 245
248 #endif 246 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/BUILD.gn ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698