| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #include "core/frame/LocalFrame.h" | 54 #include "core/frame/LocalFrame.h" |
| 55 #include "core/frame/PinchViewport.h" | 55 #include "core/frame/PinchViewport.h" |
| 56 #include "core/frame/RemoteFrame.h" | 56 #include "core/frame/RemoteFrame.h" |
| 57 #include "core/frame/Settings.h" | 57 #include "core/frame/Settings.h" |
| 58 #include "core/frame/SmartClip.h" | 58 #include "core/frame/SmartClip.h" |
| 59 #include "core/html/HTMLInputElement.h" | 59 #include "core/html/HTMLInputElement.h" |
| 60 #include "core/html/HTMLMediaElement.h" | 60 #include "core/html/HTMLMediaElement.h" |
| 61 #include "core/html/HTMLPlugInElement.h" | 61 #include "core/html/HTMLPlugInElement.h" |
| 62 #include "core/html/HTMLTextAreaElement.h" | 62 #include "core/html/HTMLTextAreaElement.h" |
| 63 #include "core/html/canvas/WebGLRenderingContext.h" | 63 #include "core/html/canvas/WebGLRenderingContext.h" |
| 64 #include "core/html/forms/PopupMenuClient.h" |
| 64 #include "core/html/ime/InputMethodContext.h" | 65 #include "core/html/ime/InputMethodContext.h" |
| 65 #include "core/inspector/InspectorController.h" | 66 #include "core/inspector/InspectorController.h" |
| 66 #include "core/loader/DocumentLoader.h" | 67 #include "core/loader/DocumentLoader.h" |
| 67 #include "core/loader/FrameLoader.h" | 68 #include "core/loader/FrameLoader.h" |
| 68 #include "core/loader/UniqueIdentifier.h" | 69 #include "core/loader/UniqueIdentifier.h" |
| 69 #include "core/page/Chrome.h" | 70 #include "core/page/Chrome.h" |
| 70 #include "core/page/ContextMenuController.h" | 71 #include "core/page/ContextMenuController.h" |
| 71 #include "core/page/ContextMenuProvider.h" | 72 #include "core/page/ContextMenuProvider.h" |
| 72 #include "core/page/DragController.h" | 73 #include "core/page/DragController.h" |
| 73 #include "core/page/DragData.h" | 74 #include "core/page/DragData.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 96 #include "platform/ContextMenuItem.h" | 97 #include "platform/ContextMenuItem.h" |
| 97 #include "platform/Cursor.h" | 98 #include "platform/Cursor.h" |
| 98 #include "platform/KeyboardCodes.h" | 99 #include "platform/KeyboardCodes.h" |
| 99 #include "platform/Logging.h" | 100 #include "platform/Logging.h" |
| 100 #include "platform/NotImplemented.h" | 101 #include "platform/NotImplemented.h" |
| 101 #include "platform/OverscrollTheme.h" | 102 #include "platform/OverscrollTheme.h" |
| 102 #include "platform/PlatformGestureEvent.h" | 103 #include "platform/PlatformGestureEvent.h" |
| 103 #include "platform/PlatformKeyboardEvent.h" | 104 #include "platform/PlatformKeyboardEvent.h" |
| 104 #include "platform/PlatformMouseEvent.h" | 105 #include "platform/PlatformMouseEvent.h" |
| 105 #include "platform/PlatformWheelEvent.h" | 106 #include "platform/PlatformWheelEvent.h" |
| 106 #include "platform/PopupMenuClient.h" | |
| 107 #include "platform/RuntimeEnabledFeatures.h" | 107 #include "platform/RuntimeEnabledFeatures.h" |
| 108 #include "platform/TraceEvent.h" | 108 #include "platform/TraceEvent.h" |
| 109 #include "platform/UserGestureIndicator.h" | 109 #include "platform/UserGestureIndicator.h" |
| 110 #include "platform/exported/WebActiveGestureAnimation.h" | 110 #include "platform/exported/WebActiveGestureAnimation.h" |
| 111 #include "platform/fonts/FontCache.h" | 111 #include "platform/fonts/FontCache.h" |
| 112 #include "platform/graphics/Color.h" | 112 #include "platform/graphics/Color.h" |
| 113 #include "platform/graphics/FirstPaintInvalidationTracking.h" | 113 #include "platform/graphics/FirstPaintInvalidationTracking.h" |
| 114 #include "platform/graphics/Image.h" | 114 #include "platform/graphics/Image.h" |
| 115 #include "platform/graphics/ImageBuffer.h" | 115 #include "platform/graphics/ImageBuffer.h" |
| 116 #include "platform/scroll/ScrollbarTheme.h" | 116 #include "platform/scroll/ScrollbarTheme.h" |
| (...skipping 4428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4545 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width | 4545 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width |
| 4546 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); | 4546 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); |
| 4547 } | 4547 } |
| 4548 | 4548 |
| 4549 void WebViewImpl::forceNextWebGLContextCreationToFail() | 4549 void WebViewImpl::forceNextWebGLContextCreationToFail() |
| 4550 { | 4550 { |
| 4551 WebGLRenderingContext::forceNextWebGLContextCreationToFail(); | 4551 WebGLRenderingContext::forceNextWebGLContextCreationToFail(); |
| 4552 } | 4552 } |
| 4553 | 4553 |
| 4554 } // namespace blink | 4554 } // namespace blink |
| OLD | NEW |