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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 780343002: Remove always true guard (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comment Created 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 329
330 #if defined(OS_MACOSX) 330 #if defined(OS_MACOSX)
331 // Does any event handling necessary for plugin IME; should be called after 331 // Does any event handling necessary for plugin IME; should be called after
332 // the plugin has already had a chance to process the event. If plugin IME is 332 // the plugin has already had a chance to process the event. If plugin IME is
333 // not enabled, this is a no-op, so it is always safe to call. 333 // not enabled, this is a no-op, so it is always safe to call.
334 // Returns true if the event was handled by IME. 334 // Returns true if the event was handled by IME.
335 virtual bool PostProcessEventForPluginIme( 335 virtual bool PostProcessEventForPluginIme(
336 const NativeWebKeyboardEvent& event) = 0; 336 const NativeWebKeyboardEvent& event) = 0;
337 #endif 337 #endif
338 338
339 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID)
340 // Updates the range of the marked text in an IME composition. 339 // Updates the range of the marked text in an IME composition.
341 virtual void ImeCompositionRangeChanged( 340 virtual void ImeCompositionRangeChanged(
342 const gfx::Range& range, 341 const gfx::Range& range,
343 const std::vector<gfx::Rect>& character_bounds) = 0; 342 const std::vector<gfx::Rect>& character_bounds) = 0;
344 #endif
345 343
346 #if defined(OS_WIN) 344 #if defined(OS_WIN)
347 virtual void SetParentNativeViewAccessible( 345 virtual void SetParentNativeViewAccessible(
348 gfx::NativeViewAccessible accessible_parent) = 0; 346 gfx::NativeViewAccessible accessible_parent) = 0;
349 347
350 // Returns an HWND that's given as the parent window for windowless Flash to 348 // Returns an HWND that's given as the parent window for windowless Flash to
351 // workaround crbug.com/301548. 349 // workaround crbug.com/301548.
352 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0; 350 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0;
353 351
354 // The callback that DetachPluginsHelper calls for each child window. Call 352 // The callback that DetachPluginsHelper calls for each child window. Call
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 421 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
424 422
425 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 423 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
426 424
427 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 425 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
428 }; 426 };
429 427
430 } // namespace content 428 } // namespace content
431 429
432 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 430 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/common/input_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698